:root {
  --ink: #10221a;
  --forest: #163c2d;
  --green: #1d6a47;
  --lime: #a4c83e;
  --gold: #c89b36;
  --paper: #f5f4ef;
  --white: #fff;
  --muted: #5e6d65;
  --line: #d9ded8;
  --shadow: 0 20px 60px rgba(10, 36, 25, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
img { display: block; width: 100%; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: -999px; top: 10px; }
.skip-link:focus { left: 10px; z-index: 100; background: #fff; padding: 10px; }

.service-header {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: auto 1fr auto auto;
  gap: 24px; align-items: center;
  min-height: 76px; padding: 10px max(20px, calc((100vw - 1180px)/2));
  background: rgba(245,244,239,.96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.service-header img { width: 168px; height: auto; }
.service-nav { display: flex; justify-content: center; gap: 24px; }
.service-nav a, .back-home { text-decoration: none; font-size: 14px; font-weight: 700; }
.service-nav a:hover, .back-home:hover { color: var(--green); }
.language {
  display: flex;
  align-items: center;
  gap: 9px;
}

.language a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 2px;
  opacity: .62;
  text-decoration: none;
  transition: opacity .18s ease, transform .18s ease;
}

.language a:hover,
.language a:focus-visible,
.language a.active {
  opacity: 1;
}

.language a:hover {
  transform: translateY(-1px);
}

.language img {
  display: block;
  width: 25px;
  height: 18px;
  border-radius: 2px;
  box-shadow: none;
}

.language .active {
  border-bottom: 0;
  padding-bottom: 0;
  box-shadow: none;
}

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 20px; border-radius: 4px;
  text-decoration: none; font-weight: 800; border: 1px solid transparent;
}
.button-primary { color: #fff; background: var(--green); }
.button-primary:hover { background: var(--forest); }
.button-secondary { color: #fff; border-color: rgba(255,255,255,.45); }
.button-secondary:hover { border-color: #fff; }

.service-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(110deg, rgba(7,29,21,.98) 0%, rgba(11,47,33,.92) 52%, rgba(7,25,18,.55) 100%),
    url("/servico-alinhamento-laser.webp") center/cover;
}
.cardan-page .service-hero {
  background:
    linear-gradient(110deg, rgba(7,29,21,.98) 0%, rgba(11,47,33,.92) 52%, rgba(7,25,18,.52) 100%),
    url("/servico-cardan-acoplado.webp") center/cover;
}
.service-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .15;
  background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner { position: relative; z-index: 1; min-height: 650px; display: flex; align-items: center; }
.hero-copy { max-width: 770px; padding: 96px 0 84px; }
.breadcrumb { font-size: 13px; margin-bottom: 36px; color: #d7e4dc; }
.breadcrumb a { text-decoration: none; }
.eyebrow {
  margin: 0 0 18px; color: var(--lime); font-size: 13px; font-weight: 900;
  letter-spacing: .13em; text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.025em; }
h1 { margin-bottom: 24px; font-size: clamp(42px, 6vw, 78px); max-width: 900px; }
.hero-lead { max-width: 700px; margin: 0 0 32px; color: #e3ebe6; font-size: clamp(18px, 2vw, 23px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof-bar {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; color: var(--ink); box-shadow: var(--shadow);
}
.proof-bar div { padding: 24px; border-right: 1px solid var(--line); }
.proof-bar div:last-child { border-right: 0; }
.proof-bar strong { display: block; margin-bottom: 3px; font-size: 17px; }
.proof-bar span { color: var(--muted); font-size: 13px; }

.section { padding: 100px 0; }
.section-white { background: #fff; }
.section-dark { color: #fff; background: var(--forest); }
.section-heading { max-width: 790px; margin-bottom: 52px; }
.section-heading h2 { margin-bottom: 18px; font-size: clamp(34px, 4.2vw, 56px); }
.section-heading p:last-child { margin: 0; color: var(--muted); font-size: 18px; }
.section-dark .section-heading p:last-child { color: #cedbd3; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.content-copy h2 { font-size: clamp(32px, 4vw, 52px); }
.content-copy p { color: var(--muted); font-size: 18px; }
.content-copy ul { padding: 0; margin: 28px 0 0; list-style: none; }
.content-copy li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--line); }
.content-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.image-card { position: relative; background: #dfe5df; box-shadow: var(--shadow); }
.image-card img { aspect-ratio: 4/3; object-fit: cover; }
.image-card figcaption { padding: 18px 20px; color: var(--muted); background: #fff; font-size: 14px; }

.symptom-grid, .solution-grid, .deliverable-grid, .faq-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.info-card {
  padding: 30px; background: #fff; border: 1px solid var(--line);
  border-top: 4px solid var(--green);
}
.info-card .number { display: block; margin-bottom: 26px; color: var(--gold); font-size: 13px; font-weight: 900; }
.info-card h3 { margin-bottom: 12px; font-size: 22px; }
.info-card p { margin: 0; color: var(--muted); font-size: 15px; }
.section-dark .info-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.section-dark .info-card p { color: #cfdbd4; }

.method-list { counter-reset: method; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: rgba(255,255,255,.16); }
.method-step { counter-increment: method; min-height: 250px; padding: 28px 22px; background: var(--forest); }
.method-step::before {
  content: "0" counter(method); display: block; margin-bottom: 58px;
  color: var(--lime); font-size: 13px; font-weight: 900;
}
.method-step h3 { font-size: 18px; }
.method-step p { color: #cbd8d0; font-size: 14px; }

.application-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.application-list div { padding: 19px 0; border-bottom: 1px solid var(--line); font-weight: 700; }

.deliverable-grid { grid-template-columns: repeat(4, 1fr); }
.deliverable { padding: 28px 0; border-top: 3px solid var(--green); }
.deliverable h3 { font-size: 19px; }
.deliverable p { margin: 0; color: var(--muted); font-size: 14px; }

.authority-band { padding: 80px 0; color: #fff; background: #0e291f; }
.authority-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.authority-grid h2 { font-size: 34px; }
.authority-stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.25); }
.authority-stat strong { display: block; color: var(--lime); font-size: 28px; }
.authority-stat span { color: #ced9d2; font-size: 14px; }

.faq-grid { grid-template-columns: 1fr 1fr; }
details { background: #fff; border: 1px solid var(--line); }
summary { padding: 22px; cursor: pointer; font-weight: 800; }
details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

.final-cta { padding: 90px 0; color: #fff; background: var(--forest); }
.cta-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: center; }
.cta-grid h2 { margin-bottom: 18px; font-size: clamp(38px, 5vw, 64px); }
.cta-grid p { max-width: 710px; color: #d2ded7; font-size: 18px; }
.cta-actions { display: grid; gap: 12px; }
.cta-actions .button { width: 100%; }
.email { color: #fff; text-align: center; font-size: 13px; word-break: break-word; }

.service-footer { padding: 34px 0; background: #091c15; color: #bccac1; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.service-footer img {
  width: 190px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 3px;
  filter: none;
}
.service-footer p { margin: 8px 0 0; font-size: 13px; }
.service-footer .trademark-note { max-width: 680px; color: #82978b; font-size: 11px; }
.footer-links { display: flex; gap: 18px; font-size: 13px; }
.footer-links a { text-decoration: none; }
.content-copy .service-detail-link {
  display: inline-flex; margin-top: 20px; color: var(--gold);
  font-weight: 800; text-decoration: none;
}
.content-copy .service-detail-link:hover,
.content-copy .service-detail-link:focus-visible { text-decoration: underline; }

.floating-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  padding: 13px 18px; border-radius: 100px; color: #fff; background: #168747;
  box-shadow: 0 10px 30px rgba(0,0,0,.2); text-decoration: none; font-weight: 800;
}

@media (max-width: 900px) {
  .service-header { grid-template-columns: 1fr auto auto; gap: 12px; }
  .service-nav { display: none; }
  .service-header img { width: 145px; }
  .back-home { font-size: 0; }
  .back-home::before { content: "←"; font-size: 22px; }
  .proof-bar { grid-template-columns: 1fr 1fr; }
  .proof-bar div:nth-child(2) { border-right: 0; }
  .grid-2, .cta-grid { grid-template-columns: 1fr; gap: 38px; }
  .symptom-grid, .solution-grid { grid-template-columns: 1fr 1fr; }
  .method-list { grid-template-columns: 1fr 1fr; }
  .deliverable-grid { grid-template-columns: 1fr 1fr; }
  .authority-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .service-header { min-height: 66px; padding-inline: 14px; }
  .service-header img { width: 125px; }
  .language img { width: 23px; height: 16px; }
  .service-hero { background-position: 62% center; }
  .hero-inner { min-height: 590px; }
  .hero-copy { padding: 70px 0 60px; }
  h1 { font-size: 42px; }
  .hero-actions .button { width: 100%; }
  .proof-bar { grid-template-columns: 1fr; }
  .proof-bar div { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .symptom-grid, .solution-grid, .deliverable-grid, .faq-grid,
  .method-list, .application-list, .authority-grid { grid-template-columns: 1fr; }
  .method-step { min-height: auto; }
  .method-step::before { margin-bottom: 28px; }
  .authority-stat { padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .floating-whatsapp { right: 12px; bottom: 12px; }
}
