/* ==========================================================================
   Ciclo Honda Site Premium UI
========================================================================== */
:root {
  --site-primary: #c1121f;
  --site-primary-700: #8f1018;
  --site-bg: #f6f7fb;
  --site-surface: #ffffff;
  --site-text: #172033;
  --site-muted: #667085;
  --site-border: #d9e0ea;
  --site-shadow: 0 16px 42px rgba(17, 24, 39, 0.10);
  --site-radius: 14px;
}

html {
  min-width: 320px;
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(193, 18, 31, 0.10), transparent 28rem),
    var(--site-bg) !important;
  color: var(--site-text);
}

header {
  margin: 12px auto 0;
  width: min(1180px, calc(100% - 24px));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  box-shadow: var(--site-shadow);
  backdrop-filter: blur(16px);
}

.logo-head .logo {
  border-radius: 16px !important;
}

nav ul {
  align-items: center;
}

nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

main {
  width: min(1180px, calc(100% - 24px));
  margin: 18px auto;
  padding: clamp(14px, 3vw, 30px) !important;
  border: 1px solid var(--site-border);
  border-radius: 18px !important;
  box-shadow: var(--site-shadow) !important;
  overflow: hidden;
}

button,
.btn-carrinho-flutuante,
input,
select,
textarea {
  border-radius: 12px !important;
}

input,
select,
textarea {
  max-width: 100%;
  min-height: 42px;
  border: 1px solid var(--site-border);
  padding: 0.65rem 0.85rem;
}

img {
  max-width: 100%;
}

.btn-carrinho-flutuante {
  box-shadow: 0 16px 34px rgba(193, 18, 31, 0.30) !important;
}

.modal-carregando {
  backdrop-filter: blur(8px);
}

@media (max-width: 820px) {
  header {
    position: sticky;
    top: 8px;
    z-index: 100;
    padding: 12px !important;
  }

  nav ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px !important;
  }

  nav a {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 520px) {
  nav ul {
    grid-template-columns: 1fr;
  }

  main {
    width: calc(100% - 16px);
    margin-top: 10px;
  }
}
