:root {
  --black: #0F0F0F;
  --card-dark: #1A1A1A;
  --ink: #1A1A1A;
  --text: #333;
  --muted: #5F5F5F;
  --muted-dark: #BDBDBD;
  --yellow: #FFC107;
  --gray: #F2F2F2;
  --line: #E6E6E6;
  --white: #fff;
  --radius: 6px;
  --header-h: 60px;
  --head: 'Poppins', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Inter', Arial, sans-serif; font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--head); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(27px, 4vw, 38px); letter-spacing: -.01em; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.wrap { width: min(1140px, 100%); margin-inline: auto; padding-inline: 16px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 28px; border: 0; border-radius: 3px; font: 600 14px/1.2 var(--head); letter-spacing: .05em; text-align: center; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 12.5px; }
.btn--y { background: var(--yellow); color: var(--ink); }
.btn--ghost { color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }

/* Barra superior */
.topbar { background: var(--black); color: var(--white); }
.topbar__in { display: flex; align-items: stretch; gap: 34px; }
.topbar__logo { display: flex; align-items: center; margin-right: auto; padding-block: 11px; }
.topbar__logo img { width: 124px; }
.topbar__info { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; text-decoration: none; }
.topbar__info svg { width: 19px; height: 19px; color: var(--yellow); }
a.topbar__info:hover { color: var(--yellow); }
.topbar__phone { display: flex; align-items: center; gap: 10px; padding-inline: 26px; font: 700 16px/1 var(--head); color: var(--ink); background: var(--yellow); text-decoration: none; white-space: nowrap; transition: filter .15s; }
.topbar__phone:hover { filter: brightness(1.06); }
.topbar__phone svg { width: 20px; height: 20px; }

/* Cabeçalho */
.header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { position: relative; padding: 10px 0; font: 600 13px/1.2 var(--head); letter-spacing: .03em; color: var(--ink); text-decoration: none; text-transform: uppercase; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; transition: transform .2s; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header.is-scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, .12); }
.menu-btn { display: none; width: 48px; height: 48px; padding: 13px; background: none; border: 0; cursor: pointer; }
.menu-btn span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(400px, calc(100vh - 290px), 560px); color: var(--white); background: #000; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('assets/fotos/capa-oficina.webp') 50% 30% / cover no-repeat; animation: zoom 22s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .72) 42%, rgba(0, 0, 0, .05) 72%); }
.hero__in { position: relative; z-index: 1; padding-block: 56px; }
.hero__in > * { animation: rise .7s ease-out both; }
.hero__in > :nth-child(2) { animation-delay: .12s; }
.hero__in > :nth-child(3) { animation-delay: .24s; }
@keyframes zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__pre { margin-bottom: 10px; font: 500 clamp(17px, 2.2vw, 24px)/1.3 var(--head); }
.hero h1 { max-width: 9.6em; color: var(--white); font-size: clamp(36px, 5.6vw, 62px); line-height: 1.12; letter-spacing: -.015em; }
.hero h1 span { display: block; color: var(--yellow); }
.hero__tag { display: inline-block; margin: 22px 0 0; padding: 8px 16px; font: 700 clamp(16px, 2vw, 20px)/1.2 var(--head); color: var(--ink); background: var(--yellow); }
.hero__in > :nth-child(4) { animation-delay: .36s; }
.hero__play { display: flex; align-items: center; gap: 12px; width: max-content; margin-top: 20px; padding-block: 6px; font: 600 15px/1.2 var(--head); color: var(--white); text-decoration: none; }
.hero__play span { position: relative; width: 44px; height: 44px; border: 2px solid var(--yellow); border-radius: 50%; transition: background-color .2s; }
.hero__play span::after { content: ''; position: absolute; top: 50%; left: 50%; margin: -7px 0 0 -4px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--yellow); transition: border-color .2s; }
.hero__play:hover span { background: var(--yellow); }
.hero__play:hover span::after { border-left-color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

/* Faixa de chamada */
.band { color: var(--muted-dark); background: var(--card-dark); }
.band__in { display: flex; align-items: center; gap: 22px; min-height: 96px; padding-block: 16px; }
.band__ic { flex: none; width: 58px; height: 42px; color: var(--yellow); }
.band p { flex: 1; margin: 0; font-size: 15px; line-height: 1.45; }
.band strong { display: block; color: var(--white); font: 600 19px/1.3 var(--head); }

/* Faixa de serviços */
.ticker { overflow: hidden; background: var(--yellow); color: var(--ink); }
.ticker__track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker ul { display: flex; flex: none; justify-content: space-around; min-width: 100vw; }
.ticker li { display: flex; align-items: center; min-height: 52px; font: 600 15px/1 var(--head); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.ticker li::after { content: ''; width: 7px; height: 7px; margin-inline: 24px; background: var(--ink); border-radius: 50%; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Seções */
.sec { padding-block: 72px; }
.sec--tight { padding-top: 0; }
.sec--gray { background: var(--gray); }
.sec__head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.sec__head h2::after { content: ''; display: block; width: 46px; height: 3px; margin: 14px auto 0; background: var(--yellow); }
.sec__head h2 + p { margin: 14px 0 0; }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* Mosaico de serviços */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 262px; padding: 24px 22px; overflow: hidden; }
.tile__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tile__ic { flex: none; width: 38px; height: 38px; transition: transform .25s; }
.tile:hover .tile__ic { transform: scale(1.14) rotate(-6deg); }
.tile h3 { color: inherit; font-size: 18px; }
.tile p { margin-bottom: 10px; font-size: 14.5px; line-height: 1.5; }
.tile a { font-size: 13.5px; font-weight: 600; text-underline-offset: 4px; }
.tile a::after { content: ''; position: absolute; inset: 0; }
.tile--y { color: var(--ink); background: var(--yellow); }
.tile--gray { color: var(--ink); background: var(--gray); }
.tile--gray p { color: var(--muted); }
.tile--dark { color: var(--white); background: var(--card-dark); }
.tile--dark .tile__ic { color: var(--yellow); }
.tile--dark p { color: var(--muted-dark); }
.tile--photo { padding: 0; background: #000; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(.84) contrast(1.06); transition: transform .5s, filter .3s; }
.tile--photo:hover img { filter: none; transform: scale(1.06); }

.perks { gap: 34px 0; }
.perks li { display: flex; gap: 16px; padding: 2px 26px; }
.perks li:not(:nth-child(3n+1)) { border-left: 2px solid var(--yellow); }
.perks .card__ic { flex: none; width: 34px; height: 34px; color: var(--ink); }
.perks h3 { margin-bottom: 4px; font-size: 16px; }
.perks p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

.showcase { color: var(--muted-dark); background: var(--black); }
.showcase__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-block: 72px; }
.showcase h2 { color: var(--white); }
.showcase__media { justify-self: center; width: min(340px, 100%); padding: 10px; background: var(--card-dark); border: 2px solid var(--yellow); border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.showcase video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #000; border-radius: 10px; }
.stats { background: var(--black); border-top: 1px solid #262626; }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-block: 44px; text-align: center; }
.nums strong { display: block; color: var(--yellow); font: 700 clamp(28px, 5vw, 50px)/1.15 var(--head); }
.nums span { font-size: 15px; color: #E0E0E0; }

.offer { display: flex; flex-direction: column; padding: 18px; background: var(--white); border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0, 0, 0, .05); transition: transform .25s, box-shadow .25s; }
.offer:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, .14); transform: translateY(-6px); }
.offer__img { position: relative; margin-bottom: 14px; border-radius: 3px; overflow: hidden; }
.offer__img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.offer:hover .offer__img img { transform: scale(1.07) rotate(2deg); }
.offer__tag { position: absolute; top: 10px; left: 10px; padding: 4px 12px; background: var(--yellow); color: var(--ink); font: 700 17px/1.3 var(--head); }
.offer__type { margin: 0 0 2px; font-size: 14px; color: var(--muted); }
.offer h3 { margin-bottom: 6px; font-size: 21px; }
.offer__pay { font-size: 15px; }
.offer .btn { margin-top: auto; width: 100%; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
.gallery__item { position: relative; display: block; padding: 0; border: 0; background: var(--gray); cursor: zoom-in; overflow: hidden; }
.gallery__item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.06); }

.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .94); }
.lightbox img { max-width: calc(100% - 32px); max-height: calc(100% - 96px); border-radius: 3px; }
.lightbox__btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; color: var(--white); font: 400 36px/1 Arial, sans-serif; background: rgba(255, 255, 255, .14); border: 0; border-radius: 50%; cursor: pointer; }
.lightbox__btn:hover { color: var(--ink); background: var(--yellow); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { top: 50%; left: 14px; margin-top: -26px; }
.lightbox__next { top: 50%; right: 14px; margin-top: -26px; }

.progress { position: fixed; top: 0; left: 0; z-index: 60; width: 100%; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; }

.reveal:not(.is-in) { opacity: 0; transform: translateY(26px); }
.reveal.is-in:not(.is-done) { transition: opacity .6s ease-out var(--d, 0s), transform .6s ease-out var(--d, 0s); }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rule { display: block; width: 46px; height: 3px; margin: 16px 0 22px; background: var(--yellow); }
.about .btn { margin-top: 6px; }

blockquote { display: flex; flex-direction: column; margin: 0; padding: 28px 24px; background: var(--white); border-top: 3px solid var(--yellow); box-shadow: 0 6px 20px rgba(0, 0, 0, .07); }
blockquote p { flex: 1; font-style: italic; color: var(--muted); }
blockquote footer strong { display: block; color: var(--ink); font-weight: 600; }
blockquote footer span { font-size: 14px; color: var(--muted); }

.faq { max-width: 800px; }
.faq .sec__head { margin-bottom: 26px; }
details { border-bottom: 1px solid #D5D5D5; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding-block: 14px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 24px; font-weight: 400; line-height: 1; color: var(--ink); }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); }

.final { color: var(--white); background: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .68)), #000 url('assets/fotos/hero-pneus.webp') 50% 60% / cover no-repeat; }
.final__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding-block: 72px; }
.final h2 { margin-bottom: 14px; color: var(--white); }
.form { display: grid; gap: 6px; padding: 26px; color: var(--text); background: var(--white); border-radius: var(--radius); }
.form label { margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.form label:first-child { margin-top: 0; }
.form input, .form select { width: 100%; min-height: 48px; padding: 10px 12px; font: 400 16px 'Inter', Arial, sans-serif; color: var(--ink); background: var(--white); border: 1px solid #9E9E9E; border-radius: 3px; }
.form input:focus, .form select:focus { border-color: var(--ink); outline: 2px solid var(--yellow); }
.form .btn { width: 100%; margin-top: 16px; }

.footer { padding-top: 60px; background: #000; color: var(--muted-dark); font-size: 15px; }
.footer__in { display: grid; grid-template-columns: 1.1fr 1.2fr .6fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer h3 { margin-bottom: 12px; color: var(--yellow); font-size: 16px; }
.footer__brand { margin-bottom: 10px; color: var(--white); font: 700 23px/1.1 var(--head); }
.footer__brand span { display: block; margin-top: 4px; color: var(--yellow); font-size: 15px; font-weight: 600; }
.footer li { padding-block: 5px; }
.footer a { color: var(--white); text-underline-offset: 3px; }
.footer li a { display: inline-block; padding-block: 11px; margin-block: -11px; }
.footer nav a { display: block; padding-block: 11px; margin-block: -2px; text-decoration: none; }
.footer nav a:hover { color: var(--yellow); }
.footer__map { display: block; width: 100%; height: 170px; border: 0; background: var(--card-dark); }
.footer__route { display: inline-block; padding-block: 12px; margin-bottom: -12px; font-weight: 500; }
.footer__copy { margin: 0; padding: 16px 90px 16px 16px; font-size: 14px; text-align: center; border-top: 1px solid #262626; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: #25D366; color: var(--white); border-radius: 50%; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); transition: transform .15s; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: pulse 2.6s ease-out infinite; }
.wa-float svg { position: relative; }
@keyframes pulse { from { opacity: .55; transform: scale(1); } 70%, to { opacity: 0; transform: scale(1.7); } }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }

@media (max-width: 1000px) {
  .menu-btn { display: block; margin-left: -12px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 16px 14px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 10px 18px rgba(0, 0, 0, .12); }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .footer__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .topbar__info { display: none; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks li:not(:nth-child(3n+1)) { border-left: 0; }
  .perks li:nth-child(even) { border-left: 2px solid var(--yellow); }
  .about, .final__in, .showcase__in { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .sec { padding-block: 56px; }
  .sec--tight { padding-top: 0; }
  .topbar__logo img { width: 104px; }
  .topbar__phone { padding-inline: 16px; font-size: 15px; }
  .topbar__in { padding-right: 0; }
  .hero { align-items: flex-end; min-height: 560px; }
  .hero::before { background-size: auto 380px; background-position: 83% 0; }
  .hero::after { background: linear-gradient(0deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .88) 40%, rgba(0, 0, 0, 0) 72%); }
  .hero__in { padding-block: 36px; }
  .hero__cta .btn { width: 100%; }
  .band__in { flex-wrap: wrap; gap: 14px; padding-block: 20px; }
  .band p { flex: 1 1 60%; }
  .band .btn { width: 100%; }
  .grid3:not(.perks) { grid-template-columns: 1fr; }
  .tile { min-height: 216px; padding: 18px 14px; }
  .tile__top { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
  .tile__ic { width: 32px; height: 32px; }
  .tile h3 { font-size: 16px; }
  .tile p { margin-bottom: 8px; font-size: 13.5px; line-height: 1.45; }
  .tile a { font-size: 13px; }
  .perks { grid-template-columns: 1fr; gap: 24px; }
  .perks li { padding: 0; }
  .perks li:nth-child(even) { border-left: 0; }
  .quotes { display: flex; gap: 12px; margin-inline: -16px; padding: 4px 16px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; }
  .quotes blockquote { flex: 0 0 86%; scroll-snap-align: start; }
  .ticker li { min-height: 46px; font-size: 14px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; margin-top: 0; }
  .lightbox__next { right: 14px; }
  .nums { gap: 8px; padding-block: 34px; }
  .nums span { display: block; font-size: 13px; line-height: 1.3; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__in { grid-template-columns: 1fr; }
}

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