/* ============================================================
   Sr. Mecânico — design tokens
   ============================================================ */
:root {
  --navy: #0b2340;
  --navy-2: #123058;
  --navy-3: #17407a;
  --blue: #1476c0;
  --blue-light: #4fa3e3;
  --steel-50: #f5f7fb;
  --steel-100: #e9edf4;
  --steel-200: #dbe2ee;
  --ink: #17212e;
  --muted: #57667a;
  --muted-2: #7c8a9c;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ba851;

  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 35, 64, 0.08);
  --shadow-md: 0 12px 32px rgba(11, 35, 64, 0.14);
  --shadow-lg: 0 24px 60px rgba(11, 35, 64, 0.22);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.12; font-weight: 700; color: var(--navy); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--steel-50); }
@media (max-width: 720px) { .section { padding: 64px 0; } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--blue);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--blue-light); }
.eyebrow.on-dark::before { background: var(--blue-light); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 10px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15.5px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4); }
.btn-outline { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.btn-outline-navy { background: transparent; border-color: var(--steel-200); color: var(--navy); }
.btn-outline-navy:hover { background: var(--steel-100); border-color: var(--blue); }
.btn-block { width: 100%; }
.btn-sm { padding: 13px 24px; font-size: 15px; }

.wa-icon { width: 19px; height: 19px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-color: var(--steel-200); box-shadow: 0 4px 20px rgba(11, 35, 64, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 18px; color: var(--navy); letter-spacing: 0.01em; }
.brand-text span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted-2); text-transform: uppercase; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: 14.5px; font-weight: 600; color: var(--navy); position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform 0.2s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.btn { padding: 13px 24px; }
.main-nav a.btn::after { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; flex-direction: column; text-align: right; font-family: var(--font-mono); }
.header-phone a { font-weight: 700; color: var(--navy); font-size: 15px; }
.header-phone span { font-size: 10.5px; color: var(--muted-2); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle svg { width: 24px; height: 24px; color: var(--navy); }

@media (max-width: 940px) {
  .header-phone { display: none; }
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 76px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    z-index: 59;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--steel-100); font-size: 17px; }
  .main-nav .btn { margin-top: 14px; width: 100%; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: 92px 0 0;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(8, 24, 46, 0.96) 0%, rgba(11, 35, 64, 0.93) 38%, rgba(20, 118, 192, 0.55) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-bottom: 64px; }
.hero-content { max-width: 720px; }
.hero-content .eyebrow { margin-bottom: 18px; }
.hero-content h1 { font-size: clamp(34px, 5.2vw, 58px); letter-spacing: -0.01em; color: var(--white); }
.hero-content .lede { margin-top: 22px; font-size: 18px; color: rgba(255, 255, 255, 0.86); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 20, 38, 0.55);
  padding: 26px 0;
}
.hero-strip-inner { display: flex; align-items: center; justify-content: center; }
.brand-row { display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; opacity: 0.92; }
.brand-row img { height: 22px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: var(--steel-100);
  border-radius: 100px;
  padding: 5px 11px;
  width: fit-content;
  text-transform: uppercase;
}
.service-icon { width: 46px; height: 46px; color: var(--blue); }
.service-card h3 { font-size: 20px; }
.service-card p { color: var(--muted); font-size: 15px; flex: 1; }
.service-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--navy); }
.service-link svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- Diagnostic ticket (packs) ---------- */
.packs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
@media (max-width: 800px) { .packs-grid { grid-template-columns: 1fr; } }

.ticket {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--steel-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.ticket-featured { border-color: var(--blue); box-shadow: var(--shadow-md); position: relative; }
.ticket-head { padding: 26px 28px; border-bottom: 1.5px dashed var(--steel-200); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket-featured .ticket-head { background: var(--navy); border-bottom-color: rgba(255,255,255,0.18); }
.ticket-featured .ticket-head h3, .ticket-featured .ticket-head .ticket-code { color: var(--white); }
.ticket-head h3 { font-size: 21px; }
.ticket-code { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.ticket-badge { background: var(--blue); color: var(--white); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; }

.ticket-body { padding: 26px 28px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.ticket-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dotted var(--steel-200);
  font-size: 15px;
}
.ticket-item:last-child { border-bottom: none; }
.ticket-check {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.6px solid var(--blue);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ticket-check svg { width: 12px; height: 12px; }
.ticket-diag {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--steel-50);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ticket-diag strong { font-size: 20px; color: var(--blue); }
.ticket-foot { padding: 22px 28px 28px; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 980px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.value-card { text-align: center; padding: 26px 16px; }
.value-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--steel-100);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.value-icon svg { width: 26px; height: 26px; }
.value-card h4 { font-size: 16px; }

/* ---------- Trust / social proof ---------- */
.trust-panel {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 52px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .trust-panel { grid-template-columns: 1fr; padding: 36px 26px; } }
.trust-copy h2 { color: var(--white); font-size: clamp(26px, 3vw, 34px); }
.trust-copy p { margin-top: 16px; color: rgba(255, 255, 255, 0.78); font-size: 16px; }
.trust-facts { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.trust-fact { display: flex; gap: 14px; align-items: flex-start; }
.trust-fact svg { width: 22px; height: 22px; color: var(--blue-light); flex: none; margin-top: 2px; }
.trust-fact strong { display: block; font-size: 15.5px; }
.trust-fact span { font-size: 14px; color: rgba(255, 255, 255, 0.65); }
.trust-cta {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}
.trust-cta .stars { color: #ffb400; margin-bottom: 14px; display: flex; justify-content: center; gap: 4px; }
.trust-cta .stars svg { width: 20px; height: 20px; }
.trust-cta p { color: rgba(255, 255, 255, 0.82); font-size: 15px; margin-bottom: 20px; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
@media (max-width: 900px) { .location-grid { grid-template-columns: 1fr; } }
.location-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.info-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--steel-100); }
.info-row:last-child { border-bottom: none; }
.info-row svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.info-row strong { display: block; font-size: 15px; color: var(--navy); }
.info-row span, .info-row a { font-size: 14.5px; color: var(--muted); display: block; }
.info-row a:hover { color: var(--blue); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--steel-200); min-height: 340px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-panel { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 40px; height: 100%; }
.contact-panel h3 { color: var(--white); font-size: 23px; }
.contact-panel p { margin-top: 12px; color: rgba(255, 255, 255, 0.75); font-size: 15px; }
.contact-panel .info-row { border-color: rgba(255, 255, 255, 0.12); }
.contact-panel .info-row strong { color: var(--white); }
.contact-panel .info-row span, .contact-panel .info-row a { color: rgba(255, 255, 255, 0.72); }
.contact-panel .info-row svg { color: var(--blue-light); }

.form-card { background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--steel-200);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--steel-50);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); background: var(--white); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.consent input { margin-top: 3px; flex: none; }
.consent a { text-decoration: underline; color: var(--muted); }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--muted-2); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 48px; margin-bottom: 14px; opacity: 0.6; }
.footer-brand p { font-size: 14px; max-width: 260px; color: rgba(255, 255, 255, 0.6); }
.footer-col h5 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-light); margin-bottom: 16px; }
.footer-col li { margin-bottom: 11px; font-size: 14.5px; }
.footer-col a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--blue); border-color: var(--blue); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.footer-bottom a { text-decoration: underline; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Page hero (service pages) ---------- */
.page-hero { background: var(--navy); color: var(--white); padding: 150px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(20, 118, 192, 0.35), transparent 55%); }
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb { font-family: var(--font-mono); font-size: 12.5px; color: rgba(255, 255, 255, 0.55); display: flex; gap: 8px; align-items: center; margin-bottom: 20px; }
.breadcrumb a { color: rgba(255, 255, 255, 0.75); }
.breadcrumb a:hover { color: var(--white); }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4.4vw, 46px); max-width: 700px; }
.page-hero p.lede { margin-top: 18px; color: rgba(255, 255, 255, 0.8); max-width: 600px; font-size: 17px; }

.detail-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-list { display: flex; flex-direction: column; gap: 0; }
.detail-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--steel-100); }
.detail-item svg { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: 2px; }
.detail-item strong { display: block; font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.detail-item p { color: var(--muted); font-size: 15px; }
.side-card { background: var(--steel-50); border-radius: var(--radius-lg); padding: 30px; position: sticky; top: 110px; }
.side-card h4 { font-size: 18px; margin-bottom: 12px; }
.side-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }

.other-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 780px) { .other-services { grid-template-columns: 1fr; } }
.mini-card { border: 1px solid var(--steel-200); border-radius: var(--radius-md); padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.mini-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.mini-card h5 { font-size: 15.5px; color: var(--navy); }
.mini-card span { font-size: 13.5px; color: var(--muted); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Final CTA band ---------- */
.cta-band { background: var(--blue); color: var(--white); padding: 56px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h3 { color: var(--white); font-size: clamp(22px, 3vw, 30px); }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-top: 8px; }
