/* ==========================================================================
   Alvo Serviços Automotivos — stylesheet
   ========================================================================== */

:root {
  --red: #E2231A;
  --red-dark: #A8160F;
  --black: #000000;
  --charcoal: #1A1A1A;
  --charcoal-2: #232323;
  --white: #FFFFFF;
  --gray-light: #F4F4F4;
  --gray-border: #E4E4E4;
  --gray-text: #6B6B6B;

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 8px;
  --container: 1280px;
  --section-padding: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
html.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.35rem); max-width: 20ch; }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; line-height: 1.25; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
svg { fill: currentColor; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- Row/Col system (estrutura tipo Elementor) ---------------- */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.col-50 {
  flex: 1 1 calc(50% - 20px);
  max-width: calc(50% - 20px);
  min-width: 0;
}
.col-100 {
  flex: 1 1 100%;
  max-width: 100%;
  min-width: 0;
}
@media (max-width: 900px) {
  .col-50 { flex: 1 1 100%; max-width: 100%; }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus { left: 0; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  min-height: 44px;
  white-space: nowrap;
}
.btn .icon { width: 20px; height: 20px; flex-shrink: 0; }
.btn .icon--whatsapp { width: 26px; height: 26px; }
.btn:hover { transform: translateY(-1px); }

.btn-whatsapp {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(226,35,26,.35);
}
.btn-whatsapp:hover { background: var(--red-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.section-light .btn-outline,
.contato-info .btn-outline {
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.section-light .btn-outline:hover,
.contato-info .btn-outline:hover { background: rgba(0,0,0,.06); }

.btn-lg { padding: 15px 26px; font-size: 1.05rem; }

/* ---------------- Header ---------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 80px;
  padding-bottom: 10px;
}
.logo-link { display: block; }
.logo-img { height: 44px; width: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav ul {
  display: flex;
  gap: 24px;
}
.site-nav ul a {
  color: var(--white);
  font-weight: 500;
  font-size: .95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.site-nav ul a:hover { border-color: var(--red); }
.nav-cta { padding: 10px 18px; font-size: .92rem; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--black);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.98) 45%, rgba(0,0,0,.85) 65%, rgba(0,0,0,.5) 85%, rgba(0,0,0,.15) 100%),
    radial-gradient(circle at 15% 20%, rgba(226,35,26,.25), transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 150px;
  padding-bottom: 90px;
}
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  font-size: .95rem;
  margin-bottom: .6em;
  text-wrap: balance;
}
.eyebrow-light { color: var(--red); }
.hero h1 { margin-bottom: .4em; }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.88);
  max-width: 60ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 20px;
}
.hero-meta {
  font-size: .92rem;
  color: rgba(255,255,255,.7);
  margin: 0;
}

.cta-note {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin: 10px 0;
}
.specialty-feature--light .cta-note,
.section-light .cta-note {
  color: var(--gray-text);
}

/* ---------------- Trust bar ---------------- */
.trust-bar {
  background: var(--red);
  overflow: hidden;
}
.trust-bar-track {
  display: flex;
  width: max-content;
  animation: trust-marquee 24s linear infinite;
  will-change: transform;
}
.trust-bar-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 14px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .03em;
  color: var(--white);
  text-transform: uppercase;
  white-space: nowrap;
}
.trust-bar-group span { display: inline-flex; align-items: center; }
.trust-bar-group span::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  margin: 0 16px;
}
@keyframes trust-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-bar-track { animation: none; }
}

/* ---------------- Outros serviços ---------------- */
.outros-servicos { margin-top: 40px; }
.outros-servicos-label {
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.outros-servicos-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.outros-servicos-list li {
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .9rem;
  color: var(--white);
}

/* ---------------- Reviews (colunas verticais em loop infinito) ---------------- */
.reviews-columns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
  max-height: 640px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}
.reviews-col {
  flex: 1 1 0;
  max-width: 340px;
  overflow: hidden;
}
.reviews-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  animation: reviews-scroll 26s linear infinite;
}
.reviews-track--b { animation-duration: 34s; }
.reviews-track--c { animation-duration: 22s; }
.reviews-col:hover .reviews-track { animation-play-state: paused; }
@keyframes reviews-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-33.3333%); }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
}

.review-card {
  background: var(--charcoal-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 26px;
  margin: 0;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.review-card blockquote {
  color: rgba(255,255,255,.9);
  font-size: .96rem;
  line-height: 1.55;
  margin: 0 0 1.1em;
}
.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(226,35,26,.18);
  border: 1px solid rgba(226,35,26,.35);
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-meta { display: flex; flex-direction: column; gap: 2px; }
.review-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: .92rem;
  color: var(--white);
}
.review-stars {
  font-size: .78rem;
  color: #ffb400;
  letter-spacing: 1px;
}
.reviews-heading { text-align: center; }
.reviews-heading h2 { margin-left: auto; margin-right: auto; }
.reviews-link-wrap { text-align: center; }
.reviews-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--white);
  font-weight: 700;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}
.reviews-link:hover { color: rgba(255,255,255,.8); }


/* ---------------- Sections ---------------- */
.section { padding: var(--section-padding) 0; }
.section-dark {
  background: var(--charcoal);
  color: var(--white);
}
.section-dark h2 { color: var(--white); }
#avaliacoes { background: var(--black); }
#acompanhamento { background: var(--black); }
.section-light {
  background: var(--white);
}
.section-light h2 { color: var(--black); }
.section-lead {
  max-width: 62ch;
  color: var(--gray-text);
  font-size: 1.08rem;
}
.section-dark .section-lead { color: rgba(255,255,255,.75); }

.text-accent { color: var(--red); }

/* ---------------- Tracking feature ---------------- */
.tracking-wrap {
  position: relative;
}
.tracking-composition {
  margin: 0;
}
.tracking-showcase {
  position: relative;
}
.tracking-feature-text {
  max-width: 46ch;
}
.tracking-feature-text p {
  color: rgba(255,255,255,.82);
  font-size: 1.02rem;
}

.tracking-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
}
.tracking-callout-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(226,35,26,.15);
  border: 1px solid rgba(226,35,26,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tracking-callout-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tracking-callout h3 {
  color: var(--white);
  margin: 0 0 .2em;
}
.tracking-callout p {
  font-family: var(--font-body);
  font-size: .92rem;
  color: rgba(255,255,255,.75);
  margin: 0;
}

/* ---------------- Telefone com app de acompanhamento ---------------- */
.tracking-phone {
  position: absolute;
  top: 0;
  right: 235px;
  z-index: 1;
  width: 320px;
  height: 660px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 88%);
}
.tracking-phone-frame {
  position: relative;
  width: 320px;
  height: 660px;
  background: linear-gradient(155deg, #2c2c31 0%, #17171a 42%, #0a0a0c 100%);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50px;
  padding: 13px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 40px 90px rgba(0,0,0,.55);
}
.tracking-phone-frame::before {
  /* botão de força */
  content: "";
  position: absolute;
  right: -2px;
  top: 118px;
  width: 3px;
  height: 62px;
  background: rgba(255,255,255,.18);
  border-radius: 2px 0 0 2px;
}
.tracking-phone-frame::after {
  /* botões de volume */
  content: "";
  position: absolute;
  left: -2px;
  top: 96px;
  width: 3px;
  height: 42px;
  background: rgba(255,255,255,.18);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 60px 0 rgba(255,255,255,.18);
}
.tracking-phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  background: #050506;
  border-radius: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tracking-phone-notch::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e1e22;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.tracking-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(165deg, #16161a 0%, #0b0b0d 55%, #08080a 100%);
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 18px 16px 18px;
}
.tracking-phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
}
.tracking-phone-statusbar-icons { display: flex; gap: 5px; }
.tracking-phone-statusbar-icons svg { width: 15px; height: 15px; fill: rgba(255,255,255,.85); }
.tracking-phone-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  color: var(--white);
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.tracking-phone-appbar > span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tracking-live {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(255,255,255,.55);
}
.tracking-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(226,35,26,.6);
  animation: trackingLivePulse 2s ease-out infinite;
}
@keyframes trackingLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(226,35,26,.55); }
  70% { box-shadow: 0 0 0 7px rgba(226,35,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(226,35,26,0); }
}
@media (prefers-reduced-motion: reduce) {
  .tracking-live-dot { animation: none; }
}

.tracking-phone-feed {
  position: relative;
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
}
.tracking-feed-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: trackingFeedScroll 18s linear infinite;
}
.tracking-feed-track::before {
  /* linha de linha do tempo conectando os ícones */
  content: "";
  position: absolute;
  left: 29px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.14) 8%, rgba(255,255,255,.14) 92%, transparent);
  z-index: 0;
}
@keyframes trackingFeedScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tracking-feed-track { animation: none; }
}
.tracking-feed-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
}
.tracking-feed-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(226,35,26,.16);
  border: 1px solid rgba(226,35,26,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tracking-feed-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tracking-feed-label {
  font-family: var(--font-body);
  font-size: .64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255,255,255,.48);
  margin: 0 0 3px;
}
.tracking-feed-title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .76rem;
  color: rgba(255,255,255,.8);
  margin: 0;
  line-height: 1.3;
}
/* ---------------- Diferenciais grid ---------------- */
.tracking-diff-row { position: relative; z-index: 2; margin-top: 56px; }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@property --shine-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.diff-card {
  position: relative;
  isolation: isolate;
  z-index: 2;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 8px 30px rgba(0,0,0,.35), 0 0 40px -12px rgba(226,35,26,.35);
}
.diff-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--shine-angle, 0deg),
    transparent 0%,
    transparent 55%,
    rgba(226,35,26,.9) 68%,
    #ff8a80 75%,
    rgba(226,35,26,.9) 82%,
    transparent 92%,
    transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: diff-card-shine 4.5s linear infinite;
}
@keyframes diff-card-shine {
  to { --shine-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .diff-card::before { animation: none; }
}
.diff-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(226,35,26,.15);
  border: 1px solid rgba(226,35,26,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.diff-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.diff-card h3 { color: var(--white); margin-bottom: .35em; }
.diff-card p { color: rgba(255,255,255,.75); font-size: .96rem; margin: 0; }

@media (max-width: 900px) {
  .tracking-phone {
    position: relative;
    right: auto;
    z-index: 1;
    width: 240px;
    height: 495px;
    margin: 32px auto 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 88%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 88%);
  }
  .tracking-phone-frame { width: 100%; height: 100%; }
  .tracking-feature-text { max-width: 100%; }
  .tracking-diff-row { margin-top: -90px; }
  .diff-grid { grid-template-columns: 1fr; }
}

/* ---------------- Services (lean, sem foto) ---------------- */
.services-lean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-border);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 40px;
}
.service-lean {
  background: var(--white);
  padding: 30px 26px;
  transition: background .15s ease;
}
.service-lean:hover { background: var(--gray-light); }
.service-lean-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.service-lean-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-lean-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-lean-num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  color: var(--gray-text);
  opacity: .6;
}
.service-lean h3 { margin-bottom: .4em; }
.service-lean p { color: var(--gray-text); font-size: .94rem; margin-bottom: 14px; }
.service-link {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  font-size: .92rem;
}
.service-link:hover { color: var(--red-dark); }

.service-lean:last-child { grid-column: span 2; }

@media (max-width: 900px) { .services-lean-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-lean-grid { grid-template-columns: 1fr; } .service-lean:last-child { grid-column: span 1; } }

/* ---------------- Especialidades ---------------- */
.specialty-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  margin-top: 32px;
}
.specialty-card picture { display: block; aspect-ratio: 16/9; overflow: hidden; }
.specialty-card img { width: 100%; height: 100%; object-fit: cover; }
.specialty-body { padding: 26px; }
.specialty-body h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }
.specialty-body p { color: var(--gray-text); font-size: .96rem; }
.specialty-signals-label { font-weight: 700; color: var(--charcoal); font-size: .92rem; margin: 18px 0 10px; }
.specialty-signals { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.specialty-signals li {
  position: relative;
  padding-left: 22px;
  font-size: .92rem;
  color: var(--charcoal);
}
.specialty-signals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------------- Especialidade em destaque (câmbio, motor 3 cilindros...) ---------------- */
.specialty-feature {
  position: relative;
  background: var(--black);
  overflow: hidden;
  padding: 100px 0;
}
.specialty-feature-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  overflow: hidden;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  will-change: transform;
}
.specialty-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%);
}
.specialty-feature-content { position: relative; z-index: 2; max-width: 560px; }
.specialty-feature h2 { color: var(--white); }
.specialty-feature .section-lead { color: rgba(255,255,255,.8); max-width: 54ch; }
.specialty-points {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 36px 0 34px;
}
.specialty-point {
  width: 200px;
  transition: transform .25s ease;
}
.specialty-point:hover { transform: translateY(-4px); }
.specialty-point-dash {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--red);
  margin-bottom: 14px;
  transition: width .25s ease;
}
.specialty-point:hover .specialty-point-dash { width: 40px; }
.specialty-point h3 { font-family: var(--font-body); font-weight: 700; color: var(--white); font-size: 1rem; margin-bottom: .3em; }
.specialty-point p { color: rgba(255,255,255,.68); font-size: .88rem; margin: 0; }
.specialty-feature .btn-whatsapp {
  transition: transform .2s ease, box-shadow .2s ease, background .15s ease;
}
.specialty-feature .btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(226,35,26,.4); }

/* Variante clara (pra alternar o peso visual entre seções em destaque consecutivas) */
.specialty-feature--light { background: var(--white); }
.specialty-feature--light h2 { color: var(--black); }
.specialty-feature--light .section-lead { color: var(--gray-text); }
.specialty-feature--light .specialty-point h3 { color: var(--black); }
.specialty-feature--light .specialty-point p { color: var(--gray-text); }

/* Variante "cartão": imagem contida com cantos arredondados, sem clip-path/full-bleed (versão mais leve) */
.specialty-feature--card { padding: 100px 0; }
.specialty-feature--card .specialty-feature-row {
  display: flex;
  align-items: center;
  gap: 64px;
}
.specialty-feature--card .specialty-feature-content { max-width: 480px; flex: 1 1 440px; }
.specialty-feature--card .specialty-feature-card-media { flex: 1 1 520px; }
.specialty-feature--card .specialty-feature-card-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(20,20,20,.14);
}
@media (max-width: 900px) {
  .specialty-feature.specialty-feature--card { padding: 60px 0; }
  .specialty-feature--card .specialty-feature-row { flex-direction: column; gap: 36px; }
  .specialty-feature--card .specialty-feature-content { max-width: 100%; order: 2; }
  .specialty-feature--card .specialty-feature-card-media { width: 100%; flex: none; order: 1; }
}

@media (max-width: 900px) {
  .specialty-feature { padding: 0 0 60px; }
  .specialty-feature-media {
    position: relative;
    width: 100%;
    height: 240px;
    clip-path: none;
    margin-bottom: 20px;
  }
  .specialty-feature-seam { display: none; }
  .specialty-feature-media::after { background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.95) 100%); }
  .specialty-feature-content { max-width: 100%; }
  .specialty-feature-content .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}

/* Variante com vídeo (fundido ao fundo, sem corte duro) */
.specialty-feature--video { background: #000; }
.specialty-feature-media--video {
  clip-path: none;
  overflow: visible;
  background: #000;
}
.specialty-feature-media--video::after { display: none; }
.video-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-wrap iframe {
  width: 135%;
  max-height: 92%;
  aspect-ratio: 16 / 9;
  border: 0;
  pointer-events: none;
}
@media (max-width: 900px) {
  .specialty-feature--video { padding-top: 32px; }
  .specialty-feature-media--video { height: auto; aspect-ratio: 16 / 9; }
  .video-wrap iframe { width: 100%; height: 100%; max-height: 100%; }
}

/* ---------------- Marcas atendidas ---------------- */
.brands-bar {
  background: none;
  padding: 24px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.brands-bar-label {
  text-align: center;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin: 0 0 14px;
  text-wrap: balance;
}
.brands-bar-track {
  display: flex;
  width: max-content;
  animation: trust-marquee 28s linear infinite;
  will-change: transform;
}
.brands-bar-group { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 32px;
  border-right: 1px solid var(--gray-border);
}
.brand-logo img {
  height: 45px;
  width: auto;
  display: block;
  filter: grayscale(1);
  opacity: .5;
  transition: opacity .2s ease, filter .2s ease;
}
.brand-logo:hover img { opacity: 1; filter: grayscale(0); }
@media (prefers-reduced-motion: reduce) {
  .brands-bar-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* ---------------- Reels / Instagram ---------------- */
#reels { background: var(--black); }
.reels-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.reels-header-text { flex: 1 1 480px; min-width: 0; }
.reels-nav { display: flex; gap: 10px; flex-shrink: 0; }
.reels-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.reels-nav button:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.reels-nav button svg { width: 18px; height: 18px; }
.reels-nav button:disabled { opacity: .3; cursor: default; pointer-events: none; }
.reels-viewport {
  position: relative;
  margin-top: 36px;
  overflow: hidden;
}
.reels-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}
.reel-card {
  position: relative;
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: 420px;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.reel-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.35) 100%);
  border: 0;
  cursor: pointer;
}
.reel-play svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
  margin-left: 3px;
}
.reel-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(226,35,26,.9);
  z-index: -1;
  transform: translate(-50%, -50%);
  transition: transform .15s ease;
}
.reel-play:hover::before { transform: translate(-50%, -50%) scale(1.08); }
.reel-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: inline-block;
  max-width: calc(100% - 28px);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .66rem;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
  background: var(--red);
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reel-frame { position: absolute; inset: 0; }
.reel-frame iframe { width: 100%; height: 100%; border: 0; }
.reels-cta { text-align: center; margin-top: 36px; }
.reels-cta .btn-outline { color: var(--white); border-color: rgba(255,255,255,.6); }
.reels-cta .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

@media (max-width: 640px) {
  .reel-card { flex-basis: 100%; max-width: 100%; }
}

/* ---------------- FAQ ---------------- */
.faq-grid { align-items: flex-start; }
.faq-media picture {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.faq-media img { width: 100%; height: 100%; object-fit: cover; }
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.faq-item {
  border-bottom: 1px solid var(--gray-border);
  padding: 4px 0;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--red); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  color: var(--black);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--red);
  transition: transform .35s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item p { color: var(--gray-text); font-size: .92rem; line-height: 1.6; max-width: 48ch; padding: 0 0 18px; margin: 0; }

@media (max-width: 900px) {
  .faq-media { order: -1; margin-bottom: 8px; }
  .faq-media picture { aspect-ratio: 16/9; }
}

/* ---------------- Gallery (grid grande, estilo layout-grid) ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  gap: 20px;
  margin-top: 36px;
}
.gallery-tile {
  position: relative;
  grid-column: span 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--charcoal);
  font: inherit;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.gallery-tile--wide { grid-column: span 2; }
.gallery-tile picture {
  position: absolute;
  inset: 0;
  display: block;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-tile:hover img,
.gallery-tile:focus-visible img { transform: scale(1.06); }
.gallery-tile:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.gallery-tile-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 55%, transparent 100%);
}
.gallery-tile-title {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .72rem;
  color: var(--white);
  line-height: 1.3;
  background: var(--red);
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: .01em;
}

/* ---------------- Gallery lightbox ---------------- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease;
}
.gallery-lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(4px);
}
.gallery-lightbox-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  max-height: 88vh;
  overflow: auto;
  margin: 0;
  border-radius: 16px;
  background: var(--charcoal);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transform: scale(.94);
  transition: transform .25s ease;
}
.gallery-lightbox.is-open .gallery-lightbox-card { transform: scale(1); }
.gallery-lightbox-img { display: block; width: 100%; max-height: 60vh; object-fit: cover; }
.gallery-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,.7);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox-caption {
  padding: 22px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gallery-lightbox-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
}
.gallery-lightbox-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  max-width: 60ch;
}

/* ---------------- Contato ---------------- */
.contato-grid { align-items: center; }
.contato-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 32px;
}
.contato-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .98rem;
  color: var(--charcoal);
}
.contato-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contato-list a { color: var(--red); font-weight: 600; }
.contato-list a:hover { text-decoration: underline; }
.contato-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.contato-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-border);
  min-height: 380px;
}
.contato-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ---------------- Footer ---------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding: 56px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-logo {
  display: inline-flex;
  margin-bottom: 20px;
}
.footer-logo img { display: block; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px; }
.footer-nav a { font-size: .92rem; color: rgba(255,255,255,.75); }
.footer-nav a:hover { color: var(--white); }

.footer-divider {
  width: 100%;
  height: 1px;
  margin: 32px 0 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.25), rgba(255,255,255,.25) 50%, transparent 0, transparent);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.footer-bottom {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-top: 28px;
}
.footer-copy { font-size: .82rem; margin: 0; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  transition: background .15s ease, border-color .15s ease;
}
.footer-social a:hover { background: var(--red-dark); border-color: var(--red-dark); }
.footer-social svg { width: 18px; height: 18px; }
.footer-social svg[fill="none"] { fill: none; }

.footer-address {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  font-size: .82rem;
  margin: 20px 0 0;
  color: rgba(255,255,255,.55);
}
.footer-address span:not(:first-child)::before { content: "\2022"; margin: 0 8px; }

.footer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-credit img { width: 60px; height: auto; opacity: .85; transition: opacity .2s; }
.footer-credit:hover { color: #fff; }
.footer-credit:hover img { opacity: 1; }

/* ---------------- Floating WhatsApp ---------------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 140px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(226,35,26,.45);
  z-index: 150;
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card-wide { grid-column: span 2; }
  .reviews-col--lg { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .contato-map { min-height: 300px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: none; }
  .site-nav { display: none; }
  .header-inner { justify-content: center; }

  .hero { min-height: 92vh; }
  .hero-content { padding-top: 175px; padding-bottom: 60px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card-wide { grid-column: span 1; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 14px; }
  .gallery-tile, .gallery-tile--wide { grid-column: span 1; }
  .contato-ctas .btn { width: 100%; justify-content: center; }
  .reviews-col--md { display: none; }
  .reviews-columns { max-height: 520px; }
  .trust-bar-group { font-size: .78rem; }
  .trust-bar-group span::after { margin: 0 10px; }

  .whatsapp-float { width: 52px; height: 52px; right: 14px; bottom: 44px; }
  .site-footer { padding-bottom: 112px; }
}
