/* ==========================================================================
   01 Auto Car / Uberlândia
   Design tokens: preto + branco + vermelho (marca), amarelo só em detalhes.
   Tipografia: Barlow Condensed (display, herança de sinalização rodoviária/
   placas, condiz com o universo de oficina/autopeças) + Barlow (texto).
   ========================================================================== */

:root {
  /* Cor */
  --black: #0d0d0d;
  --black-soft: #161616;
  --ink: #1a1a1a;
  --white: #ffffff;
  --off-white: #f5f4f2;
  --gray-100: #ececea;
  --gray-300: #c9c7c4;
  --gray-500: #8a8783;
  --gray-700: #4a4845;

  --red: #d81324;
  --red-dark: #a80e1c;
  --red-darker: #7c0a15;
  --yellow: #f2c230;

  /* Superfícies */
  --bg: var(--white);
  --surface-dark: var(--black);
  --surface-dark-soft: var(--black-soft);

  /* Tipografia */
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;

  /* Escala de line-height */
  --lh-heading: 1.02;  /* títulos (h1-h5, display font) */
  --lh-quote: 1.2;      /* citações/CTAs em display font, maiores que um título comum */
  --lh-support: 1.4;    /* textos de apoio (leads, intros de seção) */
  --lh-body: 1.6;        /* corpo de texto (parágrafos) */

  /* Espaçamento fluido */
  --space-xs: clamp(0.5rem, 0.45rem + 0.3vw, 0.75rem);
  --space-sm: clamp(0.9rem, 0.8rem + 0.5vw, 1.25rem);
  --space-md: clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem);
  --space-lg: clamp(2.5rem, 1.8rem + 2.8vw, 5rem);
  --space-xl: clamp(4rem, 2.8rem + 4.8vw, 8rem);

  --container: 1280px;
  --section-space: 40px;
  --radius: 6px;

  --shadow-red: 0 12px 32px -12px rgb(216 19 36 / 0.45);
  --shadow-black: 0 20px 40px -20px rgb(0 0 0 / 0.5);

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

/* ---- Textura de grão (fixa, não interfere na rolagem) ---- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-heading);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; max-width: 65ch; line-height: var(--lh-body); }
ul { margin: 0; padding: 0; list-style: none; }
.container {
  width: min(100% - 2 * var(--section-space), var(--container));
  margin-inline: auto;
}
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  transition: transform 220ms var(--ease-out-quart), background-color 220ms var(--ease-out-quart), box-shadow 220ms var(--ease-out-quart);
  white-space: nowrap;
}
.btn svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.btn:active { transform: scale(0.97); }
.btn-primary {
  position: relative;
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
  overflow: hidden;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgb(255 255 255 / 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 550ms var(--ease-out-quart);
}
.btn-primary:hover::after { left: 130%; }
.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover { background: var(--black-soft); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgb(255 255 255 / 0.4);
}
.btn-ghost:hover { border-color: var(--white); background: rgb(255 255 255 / 0.08); }
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost-dark:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }

/* ---- Header ---- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
}
[id] { scroll-margin-top: 100px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: 1.6rem;
  min-height: 64px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: var(--space-md); }
.main-nav ul { display: flex; gap: 1.75rem; }
.header-actions-mobile { display: none; }
.main-nav a {
  color: var(--gray-300);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 200ms;
  position: relative;
}
.main-nav a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.header-phone svg { width: 1.1em; height: 1.1em; color: var(--yellow); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  padding: 0.5rem;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---- Promo ticker ---- */
.promo-bar {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  text-align: center;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  contain: paint;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.1);
  opacity: 0.1;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.92) 0%, rgb(0 0 0 / 0.75) 38%, rgb(0 0 0 / 0.35) 68%, rgb(0 0 0 / 0.15) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 0.55) 0%, rgb(0 0 0 / 0) 32%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  padding-block: calc(80px + 64px) 80px;
}
.hero-copy { max-width: 640px; }
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.18);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  margin-bottom: var(--space-sm);
  font-size: 0.88rem;
  color: var(--gray-100);
}
.hero-rating .stars { display: flex; gap: 0.1rem; }
.hero-rating .stars svg { width: 15px; height: 15px; color: var(--yellow); }
.hero-copy h1 {
  font-size: clamp(2.6rem, 2rem + 3vw, 4.6rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--red);
}
.hero-copy p.lede {
  font-size: 1.15rem;
  line-height: var(--lh-support);
  color: var(--gray-300);
  margin-top: var(--space-sm);
  max-width: 46ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: var(--space-md);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: var(--space-md);
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--gray-300);
}
.hero-badges svg { width: 1.1em; height: 1.1em; color: var(--yellow); flex-shrink: 0; }

.hero-brands {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
.hero-brands span { font-size: 0.8rem; color: var(--gray-300); text-transform: uppercase; letter-spacing: 0.04em; }
.hero-brands .brand-strip { justify-content: flex-start; margin-top: 0.7rem; }
.hero-brands .brand-chip { height: 34px; padding: 0 1rem; }
.hero-brands .brand-chip img { height: 13px; }

/* ---- CTA motion: glow + magnetic ---- */
.btn-glow { animation: btnGlow 2.6s ease-in-out infinite; }
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 8px 20px -8px rgb(0 0 0 / 0.4), 0 0 0 0 rgb(216 19 36 / 0.45); }
  50% { box-shadow: 0 8px 20px -8px rgb(0 0 0 / 0.4), 0 0 0 10px rgb(216 19 36 / 0); }
}
.btn-magnetic { transition: transform 180ms var(--ease-out-quart), background-color 200ms; }

/* ---- Section shell ---- */
.section { padding-block: 80px; position: relative; overflow: hidden; }
.section > .container { position: relative; z-index: 1; }
.section-dark {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.founder-section.section-texture::before { z-index: 1; }
.section-dark > .container,
.section-dark .hero-grid,
.section-dark .founder {
  position: relative;
  z-index: 1;
}

/* ---- Textura de fundo: listras diagonais sutis ---- */
.section-texture { position: relative; }
.section-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(45deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.section-texture.section-texture-light::before {
  background-image: repeating-linear-gradient(45deg, rgb(0 0 0 / 0.025) 0 1px, transparent 1px 14px);
}
.final-cta.section-texture::before {
  background-image: repeating-linear-gradient(45deg, rgb(255 255 255 / 0.09) 0 1px, transparent 1px 14px);
}
.section-soft { background: var(--off-white); }
.section-head { max-width: 900px; margin: 0 auto var(--space-lg); text-align: center; }
.section-head h2 {
  font-size: clamp(2rem, 1.6rem + 1.8vw, 3.2rem);
  text-transform: uppercase;
  text-wrap: balance;
}
.section-head p {
  max-width: 760px;
  margin: 0.9rem auto 0;
  font-size: 1.1rem;
  line-height: var(--lh-support);
  color: var(--gray-700);
  text-wrap: balance;
}
.section-dark .section-head p { color: var(--gray-300); }
.section-head:has(+ .alert-note) { margin-bottom: var(--space-sm); }
.alert-note {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto var(--space-lg);
  position: relative;
  text-align: center;
  background: rgb(216 19 36 / 0.06);
  border: 1px solid rgb(216 19 36 / 0.2);
  border-radius: 10px;
  padding: 15px 25px;
  overflow: hidden;
}
.alert-note::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--red);
}
.alert-note svg { width: 1.2em; height: 1.2em; color: var(--red); vertical-align: middle; margin-right: 0.3em; position: relative; top: -0.05em; }
.alert-note p { font-size: 0.92rem; color: var(--ink); line-height: var(--lh-support); text-align: center; }
.alert-note p strong { color: var(--red); text-transform: uppercase; font-family: var(--font-display); letter-spacing: 0.02em; }
.section-dark .alert-note {
  background: rgb(255 90 99 / 0.08);
  border-color: rgb(255 90 99 / 0.25);
}
.section-dark .alert-note::before { background: #ff5a63; }
.section-dark .alert-note svg { color: #ff5a63; }
.section-dark .alert-note p { color: var(--gray-300); }
.section-dark .alert-note p strong { color: #ff5a63; }

/* ---- Split feature (imagem + texto) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-black);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media-gallery {
  aspect-ratio: 5 / 4;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.6rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-black);
}
.gallery-item-main { grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-badge {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  background: rgb(13 13 13 / 0.75);
  backdrop-filter: blur(2px);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}
.gallery-item-main .gallery-badge { font-size: 0.75rem; }
.split-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-bottom: var(--space-sm);
}
.split h3 {
  font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.6rem);
  text-transform: uppercase;
}
.split p.desc {
  margin-top: var(--space-sm);
  font-size: 1.08rem;
  color: var(--gray-700);
}
.split-list { margin-top: var(--space-md); display: grid; gap: 0.75rem; }
.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 1rem;
}
.split-list svg { width: 1.2em; height: 1.2em; color: var(--red); flex-shrink: 0; margin-top: 0.1rem; }
.split .btn { margin-top: var(--space-md); }

/* ---- Founder section ---- */
.founder-section {
  padding-bottom: 0;
  overflow-x: clip;
  overflow-y: visible;
  position: relative;
  z-index: 2;
}
.founder {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-lg);
  align-items: end;
  position: relative;
  min-height: 620px;
}
.founder-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-self: end;
  height: 100%;
  min-width: 0;
  margin-bottom: 0;
}
.founder-media img {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 32px rgb(0 0 0 / 0.5));
  -webkit-mask-image: linear-gradient(to top, transparent 0%, transparent 22%, black 68%);
  mask-image: linear-gradient(to top, transparent 0%, transparent 22%, black 68%);
}
.founder-copy { padding-bottom: 80px; }
.founder-section + .section {
  position: relative;
  z-index: 1;
}
.founder-copy h2 {
  font-size: clamp(2.47rem, 1.95rem + 2.08vw, 3.64rem);
  text-transform: uppercase;
  margin-top: 0.6rem;
}
.founder-copy .desc {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--gray-300);
  max-width: 60ch;
}
.founder-copy .split-list { margin-top: var(--space-md); }
.founder-copy .split-list svg { color: var(--yellow); }

/* Vehicle price cards (amortecedores) */
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--space-sm);
}
.brand-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  padding: 0 1.3rem;
}
.brand-chip img {
  display: block;
  height: 16px;
  width: auto;
  object-fit: contain;
}
.tire-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--gray-100);
}
.tire-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tire-price strong.tire-price-cta {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.4rem;
  line-height: var(--lh-quote);
  letter-spacing: -0.01em;
  color: var(--red);
}

/* ---- Serviços grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-item {
  background: var(--black);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background-color 220ms;
}
.service-item:hover { background: var(--black-soft); }
.service-item:hover svg { transform: rotate(-8deg) scale(1.08); }
.service-item svg { width: 34px; height: 34px; color: var(--yellow); transition: transform 320ms var(--ease-out-quart); }
.service-item h4 {
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--white);
}
.service-item p {
  font-size: 0.92rem;
  color: var(--gray-300);
}

/* ---- Diferenciais ---- */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.reason {
  padding-top: 1.4rem;
  border-top: 3px solid var(--red);
}
.reason strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.reason p { color: var(--gray-700); font-size: 0.98rem; line-height: var(--lh-body); }

/* ---- Prova social ---- */
.rating-summary {
  background: var(--black);
  color: var(--white);
  border-radius: 14px;
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-md);
  position: relative;
  overflow: hidden;
}
.rating-summary-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding-right: var(--space-lg);
  border-right: 1px solid rgb(255 255 255 / 0.15);
}
.rating-summary-score strong { font-family: var(--font-display); font-size: 3.8rem; line-height: 1; color: var(--yellow); }
.rating-summary-count { font-size: 0.85rem; color: var(--gray-300); }
.rating-summary .stars { display: flex; gap: 0.15rem; }
.rating-summary .stars svg { width: 20px; height: 20px; color: var(--yellow); }
.rating-summary h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  text-transform: uppercase;
}
.rating-summary p { color: var(--gray-300); margin-top: 0.5rem; }
.rating-summary .btn { margin-top: 1.2rem; }
.rating-breakdown {
  display: grid;
  gap: 0.4rem;
  padding-right: var(--space-lg);
  border-right: 1px solid rgb(255 255 255 / 0.15);
  min-width: 180px;
}
.rating-breakdown li {
  display: grid;
  grid-template-columns: 0.9rem 1fr 2rem;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--gray-300);
}
.rating-breakdown .bar {
  height: 6px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
  overflow: hidden;
}
.rating-breakdown .bar i { display: block; width: 0; height: 100%; background: var(--yellow); border-radius: inherit; transition: width 900ms var(--ease-out-quart); }
.rating-breakdown-n { text-align: right; color: var(--gray-500); }

.testimonial-featured {
  margin: 0 0 var(--space-lg);
  padding: var(--space-lg);
  background: var(--off-white);
  border-radius: 14px;
  position: relative;
}
.testimonial-featured .google-g { width: 26px; height: 26px; }
.testimonial-featured .stars { display: flex; gap: 0.15rem; margin-top: 0.6rem; }
.testimonial-featured .stars svg { width: 18px; height: 18px; color: var(--yellow); }
.testimonial-featured p {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  line-height: var(--lh-quote);
  color: var(--ink);
  max-width: 46ch;
}
.testimonial-featured footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: var(--space-sm);
}

.testimonial-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 0 0 calc((100% - 3 * 1rem) / 4);
  min-width: 0;
  box-shadow: 0 10px 20px -10px rgb(0 0 0 / 0.16);
  transition: transform 300ms var(--ease-out-quart), box-shadow 300ms var(--ease-out-quart);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -20px rgb(0 0 0 / 0.22); }
.testimonial-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.google-g { width: 22px; height: 22px; }
.testimonial-card .stars { display: flex; gap: 0.1rem; }
.testimonial-card .stars svg { width: 16px; height: 16px; color: var(--yellow); }
.testimonial-card p {
  font-size: 1rem;
  color: var(--ink);
  line-height: var(--lh-body);
  position: relative;
  z-index: 1;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}
.testimonial-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.testimonial-footer > div:last-child { display: flex; flex-direction: column; min-width: 0; }
.testimonial-author {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.testimonial-meta {
  font-size: 0.78rem;
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- FAQ ---- */
.faq-list { margin-top: var(--space-lg); border-top: 1px solid var(--gray-100); }
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  padding: 1.4rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--ink);
}
.faq-question svg {
  width: 22px;
  height: 22px;
  color: var(--red);
  flex-shrink: 0;
  transition: transform 260ms var(--ease-out-quart);
}
.faq-item[data-open="true"] .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-out-quart);
}
.faq-item[data-open="true"] .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer p { padding-bottom: 1.4rem; color: var(--gray-700); font-size: 1rem; line-height: var(--lh-body); }

/* ---- CTA final ---- */
.final-cta {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding-block: 80px;
  position: relative;
  overflow: hidden;
}
.final-cta > .container { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(2.2rem, 1.7rem + 2.2vw, 3.6rem);
  text-transform: uppercase;
}
.final-cta p { margin: 1rem auto 0; color: rgb(255 255 255 / 0.9); font-size: 1.15rem; line-height: var(--lh-support); text-wrap: balance; }
.final-cta .hero-ctas { justify-content: center; margin-top: var(--space-md); }
.final-cta .btn-primary { background: var(--black); box-shadow: none; }
.final-cta .risk-reversal { margin-top: var(--space-md); font-size: 0.9rem; color: rgb(255 255 255 / 0.75); }

/* ---- CTA de fechamento de seção (oficina / faq) ---- */
.section-cta {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgb(255 255 255 / 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.section-cta p { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.4vw, 2.2rem); line-height: var(--lh-heading); text-transform: uppercase; letter-spacing: 0.02em; }
.section-soft .section-cta, #faq .section-cta { border-top-color: rgb(0 0 0 / 0.1); color: var(--ink); }
.section-dark .section-cta {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: var(--space-xl) var(--space-md);
  border-top: none;
  overflow: hidden;
}
.section-dark .section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/oficina-tarja-pb.webp");
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  opacity: 0.15;
}
.section-dark .section-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: repeating-linear-gradient(45deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
#oficina { padding-bottom: 40px; }
#sobre.founder-section { padding-top: 40px; }
.section-dark .section-cta p,
.section-dark .section-cta .btn {
  position: relative;
  z-index: 2;
}
.final-cta .btn-primary:hover { background: var(--black-soft); }

/* ---- Footer ---- */
.site-footer {
  background: var(--black);
  color: var(--gray-300);
  padding-block: 80px var(--space-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--space-lg);
}
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin-top: 1rem; font-size: 0.95rem; line-height: var(--lh-body); max-width: 32ch; }
.footer-col h5 {
  font-family: var(--font-display);
  color: var(--white);
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a, .footer-col span { font-size: 0.95rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.85rem;
  color: var(--gray-500);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom-mobile { display: none; }

/* ---- Floating WhatsApp button ---- */
.float-whatsapp-wrap {
  position: fixed;
  bottom: 124px;
  right: 1.5rem;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}
@media (max-width: 640px) {
  /* No mobile o balão de texto fica fixo na tela e cobre conteúdo/CTAs
     conforme o usuário rola a página. Mantém só o botão redondo. */
  .float-whatsapp-bubble { display: none !important; }
  .float-whatsapp-wrap { bottom: max(20px, env(safe-area-inset-bottom)); right: 1rem; }
}
.float-whatsapp {
  background: #25d366;
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 28px -8px rgb(0 0 0 / 0.45);
  transition: transform 220ms var(--ease-out-quart);
  animation: whatsappPulse 2.4s ease-out infinite;
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-whatsapp svg { width: 30px; height: 30px; }

.float-whatsapp.is-shaking { animation: whatsappPulse 2.4s ease-out infinite, whatsappShake 820ms ease-in-out; }
@keyframes whatsappShake {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(6deg); }
}

@keyframes whatsappPulse {
  0% { box-shadow: 0 12px 28px -8px rgb(0 0 0 / 0.45), 0 0 0 0 rgb(37 211 102 / 0.55); }
  70% { box-shadow: 0 12px 28px -8px rgb(0 0 0 / 0.45), 0 0 0 14px rgb(37 211 102 / 0); }
  100% { box-shadow: 0 12px 28px -8px rgb(0 0 0 / 0.45), 0 0 0 0 rgb(37 211 102 / 0); }
}

.float-whatsapp-bubble {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  box-shadow: 0 12px 28px -10px rgb(0 0 0 / 0.3);
  padding: 0.7rem 1rem;
  max-width: 200px;
  margin-bottom: 6px;
  animation: whatsappBubbleIn 320ms var(--ease-out-quart);
}
.float-whatsapp-bubble[hidden] { display: none; }
.float-whatsapp-bubble-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.float-whatsapp-bubble-close:hover { color: var(--ink); }
.float-whatsapp-bubble-close svg { width: 12px; height: 12px; }
.float-whatsapp-bubble-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.float-whatsapp-bubble-title svg { width: 15px; height: 15px; color: #25d366; flex-shrink: 0; }
.float-whatsapp-bubble-sub { font-size: 0.78rem; color: var(--gray-500); margin-top: 0.15rem; }
.float-whatsapp-bubble-tail {
  position: absolute;
  right: 20px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  transform: rotate(45deg);
}

@keyframes whatsappBubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Carrossel (pneus / amortecedores) ---- */
.carousel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.carousel-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding: 1rem 0.5rem 2rem;
  margin: -1rem -0.5rem -2rem;
}
.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 480ms var(--ease-out-quart);
  will-change: transform;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200, #d9d9d9);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 200ms, transform 200ms;
}
.carousel-dot.is-active { background: var(--red); transform: scale(1.25); }
.section-dark .carousel-dot { background: rgb(255 255 255 / 0.25); }
.section-dark .carousel-dot.is-active { background: var(--red); }
.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-100);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -10px rgb(0 0 0 / 0.25);
  transition: background-color 200ms, transform 200ms;
}
@media (hover: hover) {
  .carousel-btn:hover { background: var(--red); color: var(--white); transform: scale(1.06); }
}
.carousel-btn svg { width: 20px; height: 20px; }
.section-dark .carousel-btn { background: var(--black-soft); border-color: rgb(255 255 255 / 0.12); color: var(--white); }

/* ---- Tire cards (por aro) ---- */
.tire-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 0 0 calc((100% - 3 * 1rem) / 4);
  min-width: 0;
  box-shadow: 0 10px 20px -10px rgb(0 0 0 / 0.16);
  transition: transform 320ms var(--ease-out-quart), box-shadow 320ms var(--ease-out-quart);
}
.tire-card:hover { transform: translateY(-6px); box-shadow: 0 16px 28px -12px rgb(0 0 0 / 0.2); }
.tire-aro {
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-transform: uppercase;
  color: var(--ink);
}
#amortecedores .tire-aro { line-height: var(--lh-heading); }
#amortecedores .tire-price { min-height: 86px; justify-content: center; }
#amortecedores .section-head { margin-bottom: 40px; }
.tire-example { font-size: 0.95rem; font-weight: 600; color: var(--gray-700); margin-top: -0.4rem; }
.tire-price {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.tire-price strong {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 3.9rem;
  line-height: 1;
  color: var(--red);
  text-transform: none;
  letter-spacing: -0.01em;
}
.tire-price strong .num-wrap { display: inline-block; align-self: center; }
.tire-price strong small { font-size: 1.3rem; color: var(--red); }
.tire-price strong .num-wrap small { vertical-align: super; }
.tire-price strong small.currency { align-self: center; }
.tire-price-day {
  align-self: flex-start;
  background: rgb(216 19 36 / 0.08);
  color: var(--red);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin: -0.3rem 0 0.2rem;
}
.tire-badges { display: grid; gap: 0.45rem; }
.tire-badges li {
  font-size: 0.85rem;
  color: var(--gray-700);
  padding-left: 1.5rem;
  position: relative;
}
.tire-badges li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgb(216 19 36 / 0.1);
}
.tire-badges li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.05em + 7.5px);
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.tire-disclaimer { margin-top: 1rem; font-size: 0.85rem; color: var(--gray-500); max-width: none; }

/* ---- Reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out-quart), transform 700ms var(--ease-out-quart);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease-out-quart), transform 620ms var(--ease-out-quart);
  transition-delay: var(--stagger-delay, 0ms);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }

/* ---- Hero entrance ---- */
.hero-in > * {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-in-up 900ms var(--ease-out-quart) forwards;
}
.hero-copy.hero-in > *:nth-child(1) { animation-delay: 80ms; }
.hero-copy.hero-in > *:nth-child(2) { animation-delay: 200ms; }
.hero-copy.hero-in > *:nth-child(3) { animation-delay: 320ms; }
.hero-copy.hero-in > *:nth-child(4) { animation-delay: 440ms; }
.hero-copy.hero-in > *:nth-child(5) { animation-delay: 560ms; }
@keyframes hero-in-up {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-in, .hero-in > * { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---- Parallax media ---- */
.parallax-media { will-change: transform; }
.parallax-img { will-change: transform; transform: translateY(0) scale(1.08); }

/* ---- Hover motion: cards & buttons ---- */
.reason, .service-item, .tire-card {
  transition: transform 320ms var(--ease-out-quart), box-shadow 320ms var(--ease-out-quart), background-color 220ms;
}
.reason:hover { transform: translateY(-4px); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--red);
  transition: right 280ms var(--ease-out-quart);
}
.main-nav a:hover::after { right: 0; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1024px) {
  .founder { grid-template-columns: 1fr; min-height: 0; }
  .founder-media { order: -1; height: 380px; margin-bottom: 0; }
  .founder-media img { height: 100%; }
  .founder-copy { padding-bottom: 80px; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; aspect-ratio: 16/9; }
  .split-media-gallery {
    aspect-ratio: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 140px);
  }
  .gallery-item-main { grid-column: 1 / 3; grid-row: 1; }
  .rating-summary { grid-template-columns: 1fr; text-align: center; }
  .rating-summary-score { border-right: none; border-bottom: 1px solid rgb(255 255 255 / 0.15); padding-right: 0; padding-bottom: var(--space-md); }
  .rating-summary .stars { justify-content: center; }
  .rating-breakdown { border-right: none; border-bottom: 1px solid rgb(255 255 255 / 0.15); padding-right: 0; padding-bottom: var(--space-md); margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tire-card { flex-basis: calc((100% - 1rem) / 2); }
  .testimonial-card { flex-basis: calc((100% - 1rem) / 2); }
}

@media (max-width: 860px) {
  .main-nav ul, .header-phone span { display: none; }
  .header-phone, .header-actions .btn-primary { display: none; }
  .header-inner { justify-content: center; position: relative; gap: 0; }
  .nav-toggle { display: inline-flex; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  .main-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    transform: translateX(100%);
    transition: transform 320ms var(--ease-out-quart);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul.is-open,
  .main-nav.is-open ul { display: flex; flex-direction: column; gap: 0; }
  .main-nav.is-open ul a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
    font-size: 1.2rem;
  }
  .main-nav.is-open .header-actions-mobile { display: block; margin-top: var(--space-md); }
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --section-space: 15px; }
  .section-cta p { font-size: 1.7rem; text-wrap: balance; }
  .founder-media { height: auto; margin-bottom: -160px; }
  .founder { row-gap: calc(var(--space-lg) / 2); }
  .founder-media img { width: 100%; height: auto; max-width: none; }
  .hero-rating, .hero-badges { display: none; }
  .hero-ctas .btn, .final-cta .btn { width: 100%; justify-content: center; }
  .hero-ctas, .final-cta .hero-ctas { flex-direction: column; }
  .rating-summary { padding: var(--space-md); }
  .services-grid { grid-template-columns: 1fr; }
  .tire-card { flex-basis: 100%; }
  .tire-card .btn { white-space: normal; text-align: center; }
  .testimonial-card { flex-basis: 100%; }
  .carousel { position: relative; }
  .carousel-btn {
    position: absolute;
    top: 33%;
    margin-top: -17px;
    width: 34px;
    height: 34px;
    z-index: 2;
    background: rgb(255 255 255 / 0.85);
    backdrop-filter: blur(2px);
    box-shadow: 0 6px 16px -8px rgb(0 0 0 / 0.35);
  }
  .carousel-btn svg { width: 16px; height: 16px; }
  .carousel-prev { left: 0.25rem; }
  .carousel-next { right: 0.25rem; }
  .section-dark .carousel-btn { background: rgb(22 22 22 / 0.75); }
  .testimonial-featured p { font-size: 1.4rem; }
  .reasons-grid { justify-items: center; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom-desktop { display: none; }
  .footer-bottom-mobile { display: block; }
}
