:root {
  --orange: #f8a53d;
  --orange-dark: #e08a1c;
  --blue: #178fd6;
  --blue-dark: #034488;
  --ink: #2b2b2b;
  --ink-soft: #3b3b3b;
  --sand: #edece8;
  --white: #fff;
  --whatsapp: #25d366;
  --radius: 18px;
  --shadow: 0 2px 10px rgb(0 0 0 / 0.15);
  --container: 1140px;
  --font: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
a { color: var(--blue-dark); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 6px;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--orange);
  color: var(--ink);
  font-weight: 600;
  font-style: italic;
  text-align: center;
  font-size: clamp(1.1rem, 4vw, 1.4375rem);
  line-height: 1.43;
  border-bottom: 1px solid rgb(0 0 0 / 0.08);
}
.topbar p { margin: 0 auto; padding-block: 10px; }
.topbar a { color: inherit; text-decoration: none; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }
.topbar__cta { white-space: nowrap; }

/* Área de toque maior nos telefones, sem mudar o layout */
.topbar a, .contact a { display: inline-block; padding-block: 8px; margin-block: -8px; }

/* ---------- Hero ---------- */
.hero {
  background: #3a3a3a url("/assets/img/hero-bg.webp") center no-repeat;
  background-size: max(1920px, 100%) auto;
  color: var(--white);
  text-align: center;
  padding-block: 8px 20px;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__seals {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.hero__seals img { width: clamp(80px, 10vw, 115px); }
.hero__title { margin-top: clamp(36px, 8vw, 90px); }
.hero__title img { width: 100%; }
.hero__tagline {
  margin: clamp(32px, 6vw, 72px) 0 0; font-weight: 700;
  font-size: 1.1875rem;
}
.hero__brands {
  width: 100%;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 4vw, 38px); align-items: center;
  margin-top: clamp(56px, 14vw, 185px);
}
.hero__brands img { margin-inline: auto; max-height: 48px; width: auto; }
/* Até tablet/celular deitado: foto inteira em vez do recorte ampliado */
@media (max-width: 1024px) {
  .hero { background-size: cover; }
}
@media (max-width: 640px) {
  .hero__tagline { margin-top: 64px; }
  .hero__brands { grid-template-columns: repeat(2, 1fr); gap: 24px 32px; margin-top: 140px; }
  .hero__brands img { max-height: none; width: 100%; }
  /* 5ª marca sozinha na última linha: centralizada */
  .hero__brands li:last-child { grid-column: 1 / -1; width: calc(50% - 16px); margin-inline: auto; }
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1.1rem; text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s, filter 0.15s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn--whatsapp { background: var(--whatsapp); color: var(--white); }
.btn--hero {
  margin-top: 10px;
  padding: 9px 26px; border-radius: 0;
  background: var(--orange); color: var(--ink);
  font-size: 1rem; font-weight: 600; text-transform: uppercase;
}

/* ---------- Intro ---------- */
.intro { text-align: center; padding-block: 20px 0; }
.intro__title {
  font-weight: 600; line-height: 1.1;
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  color: var(--ink);
}
.intro__title em { color: var(--orange); font-weight: 700; }
.intro__line {
  width: min(450px, 80%); height: 5px; margin: 20px auto;
  border: 0; border-radius: 0;
  background: #d31e64;
}
.intro p {
  max-width: 645px; margin: 0 auto;
  font-weight: 300; font-size: 1rem; line-height: 1.4; color: var(--ink-soft);
}

/* ---------- Services ---------- */
.services { padding-block: 9px 0; }
.services__list {
  display: grid; gap: 56px; padding: 28px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 0 5px 2px rgb(0 0 0 / 0.2);
  background: var(--sand);
}
.card img { width: 100%; aspect-ratio: 314 / 300; object-fit: cover; }
.card p {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 11px 39px 14px;
  text-align: center; font-weight: 600; font-style: italic; color: var(--ink-soft);
}
@media (max-width: 860px) {
  .services__list {
    grid-template-columns: none;
    grid-auto-flow: column; grid-auto-columns: 80%;
    gap: 24px; padding: 12px 16px 16px;
    margin-inline: -16px; scroll-padding-inline: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .services__list::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
}
/* Celular deitado / tablet pequeno: 2 cards por vez */
@media (min-width: 561px) and (max-width: 860px) {
  .services__list { grid-auto-columns: calc(50% - 12px); }
}

/* ---------- Repairs ---------- */
.repairs { background: var(--white); padding-block: 56px 72px; text-align: center; }
.repairs__title { font-size: clamp(2.5rem, 6vw, 3.8rem); font-weight: 700; color: #000; }
.repairs__subtitle { font-size: clamp(1.1rem, 3vw, 1.6rem); margin: 4px 0 36px; }
/* Lê de cima para baixo: 5 itens na 1ª coluna, 3 na 2ª (como no original) */
.repairs__list {
  columns: 2; column-gap: 30px; line-height: 1.4;
  margin: 0 auto 80px; text-align: left;
  list-style: disc; padding-left: 15px;
  font-size: clamp(1.125rem, 2.2vw, 1.25rem);
}
.repairs__list li { break-inside: avoid; }
.repairs__list li::marker { font-size: 14px; }
@media (max-width: 700px) {
  .repairs__list { columns: 1; }
}
.repairs__phones { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone {
  display: inline-flex; align-items: center; gap: 0;
  font-size: 2.25rem; font-weight: 700; line-height: 1.1;
  color: #000; text-decoration: none; white-space: nowrap;
}
.phone--whatsapp { color: var(--blue-dark); }
.phone:hover { text-decoration: underline; }
.phone img { width: 40px; }
.reviews { margin-top: 48px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }

/* ---------- Contact ---------- */
.contact { background: var(--orange); color: #000; font-size: 14px; line-height: 30px; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; padding-inline: 0; }
.contact__info {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding: 56px 16px;
}
.contact h3 { font-size: 14px; line-height: 30px; margin-bottom: 4px; }
.contact address { font-style: normal; }
.contact a { color: inherit; text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.contact__map { min-height: 350px; background: var(--sand); display: grid; place-items: center; }
.contact__map iframe { width: 100%; height: 100%; min-height: 350px; border: 0; display: block; }
.contact__map-fallback { font-weight: 600; color: var(--blue-dark) !important; }
@media (max-width: 860px) {
  .contact__inner { grid-template-columns: 1fr; }
  .contact__map { margin: 0 20px 20px; }
  .contact__info { padding-bottom: 16px; }
}
@media (max-width: 480px) {
  .contact__info { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { background: #565656; color: var(--white); font-size: 0.9rem; text-align: center; }
.footer p { margin: 0; padding-block: 18px; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; right: 8px; bottom: 8px; z-index: 60;
  width: 72px; height: 72px;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.25));
  transition: transform 0.15s;
}
/* Rodapé: o texto não fica embaixo do botão flutuante */
@media (max-width: 640px) {
  .footer p { padding-inline: 84px; }
}
.whatsapp-float:hover { transform: scale(1.08); }
