@font-face {
  font-family: 'Archivo Black';
  src: url('/assets/fonts/archivo-black.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo Black Fallback';
  src: local('Arial');
  size-adjust: 119.9%;
  ascent-override: 73.2%;
  descent-override: 17.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 104.7%;
  ascent-override: 92.5%;
  descent-override: 23%;
  line-gap-override: 0%;
}

:root {
  --red: #ad1213;
  --red-dark: #8c0e0f;
  --white: #ffffff;
  --black: #0b0000;
  --gray: #f4f3f3;
  --line: #e5e2e2;
  --text: #2a2323;
  --muted: #5f5757;
  --radius: 14px;
  --font-title: 'Archivo Black', 'Archivo Black Fallback', Arial, sans-serif;
  --font-body: 'Inter', 'Inter Fallback', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  padding-bottom: 72px; /* barra fixa do celular */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 7.2vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 5.4vw, 2.5rem); }
h3 { font-size: 1.12rem; }
p { margin: 0; }
.red { color: var(--red); }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.fill { fill: currentColor; stroke: none; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section-head { margin-bottom: 28px; max-width: 680px; }
.section-head p { margin-top: 10px; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 24px; border-radius: 12px;
  font: 700 1.02rem/1.1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, color .15s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { background: #fff; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--gray); }
.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--black); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: .95rem; }
.btn-block { width: 100%; }

/* Topo */
.topbar { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand img { height: 38px; width: auto; }
.nav { display: none; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--red); }
.topbar .btn { min-height: 44px; padding: 10px 16px; font-size: .92rem; }

/* Hero */
.hero { padding: 28px 0 44px; }
.hero .wrap { display: grid; gap: 28px; }
.hero h1 .red { display: block; }
.hero p.sub { margin-top: 16px; font-size: 1.08rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: grid; gap: 12px; margin-top: 24px; }
.seals { display: grid; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.seals li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .96rem; }
.seals .icon { color: var(--red); }
.hero-photo { border-radius: 18px; overflow: hidden; background: var(--gray); box-shadow: 0 14px 40px rgba(11,0,0,.18); aspect-ratio: 854/800; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Serviços */
#servicos { background: var(--gray); }
.cards { display: grid; gap: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; }
.card .ico .icon { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: .98rem; flex: 1; }
.card .btn { margin-top: 6px; }
.card-link { border-color: var(--black); }
.card-link .ico { background: var(--black); }

/* Escapamentos */
.exhaust { background: var(--black); color: #fff; }
.exhaust .wrap { display: grid; gap: 28px; align-items: center; }
.exhaust h2 { color: #fff; }
.exhaust h2 .red { color: #e0262a; }
.exhaust p { margin-top: 14px; color: #ddd5d5; font-size: 1.05rem; max-width: 560px; }
.exhaust .btn { margin-top: 24px; }
.exhaust-photo { border-radius: 18px; overflow: hidden; background: #170c0c; aspect-ratio: 4/3; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.exhaust-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph { border-radius: 18px; border: 2px dashed #4a3f3f; background: #170c0c; min-height: 240px; display: grid; place-items: center; color: #8a7d7d; text-align: center; padding: 20px; }
.ph .icon { width: 56px; height: 56px; color: #e0262a; margin: 0 auto 10px; }
.ph span { font-size: .9rem; }

/* Por que */
.why-grid { display: grid; gap: 14px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--gray); }
.why-item .ico { color: var(--red); }
.why-item .ico .icon { width: 32px; height: 32px; }

/* Sinais */
.signs { background: var(--gray); }
.sign { background: #fff; border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; border-left: 6px solid var(--red); }
.sign h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; line-height: 1.3; }
.sign p { color: var(--muted); font-size: .96rem; }
.sign .btn { margin-top: auto; align-self: flex-start; }

/* Avaliações */
.rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.rating strong { font-family: var(--font-title); font-size: 2.6rem; line-height: 1; color: var(--red); }
.stars { display: flex; gap: 2px; color: #f5a623; }
.stars .icon { width: 22px; height: 22px; }
.quote .stars { margin-bottom: 10px; }
.quote-wide { grid-column: 1 / -1; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.quote p { font-weight: 700; font-size: 1.08rem; line-height: 1.4; }
.quote small { display: block; margin-top: 12px; color: var(--muted); }
.review-cta { display: grid; gap: 12px; margin-top: 24px; justify-content: center; }
.review-cta .btn { min-width: min(100%, 300px); }

/* Onde estamos */
.where { background: var(--gray); }
.where .wrap { display: grid; gap: 24px; }
.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #ddd; min-height: 320px; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.info { display: grid; gap: 18px; align-content: start; }
.info-row { display: flex; gap: 14px; }
.info-row .icon { color: var(--red); margin-top: 3px; }
.info-row b { display: block; }
.hours { margin: 4px 0 0; padding: 0; list-style: none; color: var(--muted); }

/* Contato */
.contact { text-align: center; }
.contact .section-head { margin-left: auto; margin-right: auto; }
.contact-btns { display: grid; gap: 12px; max-width: 460px; margin: 0 auto; }
.contact-info { margin-top: 22px; color: var(--muted); }
.contact-info b { color: var(--black); font-size: 1.2rem; }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 800px; }
details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary .icon { transition: transform .2s; color: var(--red); }
details[open] summary .icon { transform: rotate(180deg); }
details p { padding: 0 20px 18px; color: var(--muted); }

/* Rodapé */
.footer { background: var(--black); color: #d8d0d0; padding: 44px 0 28px; }
.footer .wrap { display: grid; gap: 28px; }
.footer img { height: 44px; width: auto; background: #fff; border-radius: 8px; padding: 6px 10px; }
.footer h3 { color: #fff; font-family: var(--font-body); font-weight: 800; font-size: 1rem; margin-bottom: 10px; }
.footer p, .footer li { font-size: .95rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 12px; margin-top: 12px; }
.social a { width: 44px; height: 44px; border: 1px solid #4a3f3f; border-radius: 50%; display: grid; place-items: center; }
.copy { border-top: 1px solid #2c2222; margin-top: 28px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .88rem; color: #a99f9f; }
.copy span:first-child { white-space: nowrap; font-size: clamp(.64rem, 2.75vw, .88rem); }
@media (max-width: 359px) { .copy span:first-child { white-space: normal; } }

/* Botão flutuante e barra do celular */
.fab { position: fixed; right: 16px; bottom: 88px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.fab .icon { width: 30px; height: 30px; }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
.mobile-bar .btn { min-height: 50px; }

/* Cookies */
.cookies { position: fixed; left: 12px; right: 12px; bottom: 84px; z-index: 70; background: var(--black); color: #fff; border-radius: 14px; padding: 16px; display: grid; gap: 12px; box-shadow: 0 8px 28px rgba(0,0,0,.35); font-size: .92rem; }
.cookies[hidden] { display: none; }
.cookies a { color: #fff; font-weight: 700; }
.cookies-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookies .btn-outline { background: transparent; color: #fff; border-color: #fff; }
.cookies .btn-outline:hover { background: #fff; color: var(--black); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-end; justify-content: center; background: rgba(11,0,0,.68); padding: 0; }
.modal.open { display: flex; }
.modal-box { background: #fff; width: 100%; max-width: 480px; max-height: 94vh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 26px 22px 28px; position: relative; }
.modal-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gray); cursor: pointer; display: grid; place-items: center; }
.modal h2 { font-size: 1.55rem; padding-right: 40px; }
.modal .lead { margin: 8px 0 20px; color: var(--muted); }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.field input[type=text], .field input[type=tel], .field input[type=email] {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1rem; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--text);
}
.field input:focus { outline: none; border-color: var(--red); }
.field.invalid input { border-color: var(--red); background: #fff6f6; }
.err { display: none; color: var(--red); font-size: .88rem; font-weight: 600; margin-top: 5px; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 16px; font-size: .92rem; color: var(--muted); }
.consent input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--red); flex: none; }
.consent a { color: var(--red); font-weight: 600; }
.field.invalid.consent-field .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.success { display: none; text-align: center; padding: 10px 0; }
.success .check { width: 64px; height: 64px; border-radius: 50%; background: #e8f7ee; color: #1a8f4a; display: grid; place-items: center; margin: 0 auto 14px; }
.success .check .icon { width: 34px; height: 34px; }
.success p { margin: 8px 0 20px; color: var(--muted); }
.modal.done form { display: none; }
.modal.done .success { display: block; }
.modal.done .modal-head { display: none; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* Política */
.policy { padding: 40px 0 64px; }
.policy h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin-bottom: 8px; }
.policy h2 { font-size: 1.3rem; margin: 30px 0 8px; }
.policy p, .policy li { color: var(--text); }
.policy ul { padding-left: 22px; }
.policy .updated { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .section { padding: 80px 0; }
  .nav { display: flex; }
  .brand img { height: 46px; }
  .topbar .btn { font-size: 1rem; padding: 10px 22px; }
  .hero { padding: 48px 0 72px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
  .hero-cta { grid-template-columns: auto auto; justify-content: start; }
  .seals { grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .exhaust .wrap { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .review-cta { grid-template-columns: auto auto; justify-content: center; }
  .where .wrap { grid-template-columns: 1.2fr .8fr; gap: 40px; }
  .contact-btns { grid-template-columns: repeat(3, 1fr); max-width: 760px; }
  .footer .wrap { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .mobile-bar { display: none; }
  .cookies { left: 24px; right: auto; bottom: 24px; max-width: 460px; }
  .fab { bottom: 24px; right: 24px; }
  .modal { align-items: center; padding: 20px; }
  .modal-box { border-radius: 20px; max-height: 90vh; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 999px) { .trio { display: grid; gap: 14px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
