:root {
  --red: #c8102e;
  --red-dark: #9f0d25;
  --ink: #111318;
  --muted: #626773;
  --surface: #f5f6f8;
  --line: #e4e6eb;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 18px 55px rgba(17, 19, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 36px));
  margin: auto;
}

/* Cabeçalho */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 230, 235, 0.8);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 43px;
  background: var(--red);
  color: #ffffff;
  border-radius: 12px;
  font-weight: 900;
  font-style: italic;
  font-size: 17px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--red);
}

/* Botões */

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 13px;
  font: inherit;
  font-weight: 750;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 0 17px;
  font-size: 13px;
}

.button-primary,
.button-whatsapp {
  background: var(--red);
  color: #ffffff;
}

.button-primary:hover,
.button-whatsapp:hover {
  background: var(--red-dark);
}

.button-secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

/* Hero */

.hero {
  padding: 78px 0 64px;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(200, 16, 46, 0.12),
      transparent 35%
    ),
    linear-gradient(180deg, #ffffff, #f7f8fa);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 0 0 24px;
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  color: #3f444d;
  font-size: 13px;
  font-weight: 650;
}

.hero-card {
  border-radius: 30px;
  background: #ffffff;
  padding: 15px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-visual {
  height: 360px;
  border-radius: 23px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.hero-profile {
  isolation: isolate;
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(255, 255, 255, 0.18),
      transparent 35%
    ),
    linear-gradient(145deg, #202229, #08090c);
}

.profile-background {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 75% 25%,
      rgba(200, 16, 46, 0.75),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      transparent 0 45%,
      rgba(255, 255, 255, 0.05) 45% 46%,
      transparent 46%
    );
  z-index: -1;
}

.profile-image {
  width: 245px;
  height: 245px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 7px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.45),
    0 0 0 10px rgba(200, 16, 46, 0.24);
}

.profile-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 17px;
  color: #ffffff;
  background: rgba(10, 11, 14, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  backdrop-filter: blur(12px);
}

.profile-badge strong,
.profile-badge span {
  display: block;
}

.profile-badge span {
  color: #ff8ba0;
  font-size: 13px;
  font-weight: 700;
}

.profile-badge .online-dot {
  color: #b8f5c8;
  font-size: 11px;
}

.hero-card-content {
  padding: 20px 8px 8px;
}

.hero-card-content span,
.hero-card-content small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.hero-card-content strong {
  display: block;
  font-size: 19px;
  margin: 5px 0 10px;
}

/* Seções */

.section {
  padding: 86px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.04em;
  margin: 0;
}

.section-heading p {
  color: var(--muted);
  max-width: 430px;
}

.filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter {
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 11px 17px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

/* Catálogo */

.motorcycle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.moto-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.moto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(17, 19, 24, 0.1);
}

/*
 * Área da imagem:
 * object-fit: contain garante que a imagem apareça inteira.
 * A altura maior acomoda bem imagens verticais.
 */

.moto-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 340px;
  min-height: 340px;
  padding: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, #ffffff 0%, #f5f6f8 100%);
}

.moto-image img,
.moto-photo {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 12px;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.moto-card:hover .moto-photo {
  transform: scale(1.025);
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.15));
}

.moto-category,
.moto-image > span {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  padding: 7px 11px;
  background: var(--red);
  color: #ffffff;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 7px 18px rgba(17, 19, 24, 0.13);
}

.moto-image-fallback {
  width: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 83px;
}

.moto-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 21px;
}

.moto-body h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.moto-body p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  min-height: 44px;
  margin-bottom: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.tag-row span {
  padding: 6px 9px;
  background: #fff0f3;
  color: var(--red-dark);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}

.moto-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #333842;
  font-size: 12px;
  font-weight: 700;
  margin: auto 0 18px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.card-actions .button {
  min-height: 43px;
  font-size: 12px;
  padding: 0 10px;
}

/* Formas de compra */

.section-dark {
  background: #111318;
  color: #ffffff;
}

.light .eyebrow {
  color: #ff637c;
}

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

.purchase-grid article {
  padding: 28px;
  border: 1px solid #2c3038;
  border-radius: 20px;
  background: #171a20;
}

.purchase-grid article span {
  color: #ff637c;
  font-weight: 900;
}

.purchase-grid h3 {
  font-size: 23px;
  margin: 26px 0 10px;
}

.purchase-grid p {
  color: #aeb3bd;
  line-height: 1.65;
}

/* Contato */

.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: var(--surface);
  padding: 48px;
  border-radius: 28px;
}

.contact-card h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
  margin: 0 0 15px;
}

.contact-card p {
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
}

/* Rodapé */

.footer {
  background: #090a0d;
  color: #ffffff;
  padding: 48px 0 28px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

.footer p {
  color: #aeb3bd;
}

.footer a {
  color: #ffffff;
  text-decoration: underline;
}

.legal {
  border-top: 1px solid #292c32;
  margin-top: 35px;
  padding-top: 23px;
  color: #8d929c;
  font-size: 11px;
  line-height: 1.6;
}

/* WhatsApp flutuante */

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #24d366;
  color: #ffffff;
  font-size: 27px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.23);
  z-index: 30;
}

/* Modal */

.modal {
  width: min(650px, calc(100% - 28px));
  max-height: calc(100vh - 30px);
  border: 0;
  border-radius: 24px;
  padding: 0;
  overflow-y: auto;
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(5px);
}

.modal-close {
  position: absolute;
  right: 15px;
  top: 12px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  font-size: 25px;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.14);
}

.modal-inner {
  padding: 38px;
}

/*
 * Imagem do modal:
 * altura suficiente para mostrar a foto inteira sem cortar.
 */

.modal-bike {
  width: 100%;
  height: 440px;
  min-height: 440px;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 25px;
}

.modal-bike img,
.modal-moto-photo {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 12px;
}

.modal-bike .moto-image-fallback {
  min-height: 260px;
}

.modal h2 {
  font-size: 32px;
  margin: 0 0 8px;
}

.modal p {
  color: var(--muted);
  line-height: 1.6;
}

.modal-tags {
  margin-top: 18px;
  margin-bottom: 20px;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}

.spec-list div {
  padding: 13px;
  background: var(--surface);
  border-radius: 12px;
  font-size: 13px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.empty {
  grid-column: 1 / -1;
  padding: 45px;
  text-align: center;
  background: var(--surface);
  border-radius: 20px;
  color: var(--muted);
}

/* Tablet */

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    transform: none;
  }

  .motorcycle-grid,
  .purchase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .moto-image {
    height: 360px;
    min-height: 360px;
  }
}

/* Celular */

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .header .button-small {
    display: none;
  }

  .nav {
    height: 66px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-visual {
    height: 300px;
  }

  .profile-image {
    width: 185px;
    height: 185px;
  }

  .profile-badge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
  }

  .profile-badge .online-dot {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .motorcycle-grid,
  .purchase-grid {
    grid-template-columns: 1fr;
  }

  /*
   * Em uma coluna, a imagem pode ficar maior,
   * preservando melhor os banners verticais.
   */

  .moto-image {
    height: 440px;
    min-height: 440px;
    padding: 10px;
  }

  .moto-photo {
    height: 100% !important;
  }

  .contact-card {
    padding: 30px 22px;
  }

  .footer-grid {
    flex-direction: column;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .modal-inner {
    padding: 24px 18px;
  }

  .modal-bike {
    height: 390px;
    min-height: 390px;
    padding: 10px;
  }

  .modal h2 {
    font-size: 27px;
  }
}

/* Celulares menores */

@media (max-width: 390px) {
  .hero h1 {
    font-size: 37px;
  }

  .moto-image {
    height: 390px;
    min-height: 390px;
  }

  .modal-bike {
    height: 340px;
    min-height: 340px;
  }
}