.models-page {
  background: #fff;
  color: #202124;
}

/*
|--------------------------------------------------------------------------
| Hero da pÃ¡gina Modelos
|--------------------------------------------------------------------------
*/

.models-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  isolation: isolate;
  background: #050505;
  color: #fff;
}

.models-hero-background {
  position: absolute;
  z-index: 0;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  pointer-events: none;
  user-select: none;
}

.models-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.99) 0%,
      rgba(0, 0, 0, 0.96) 27%,
      rgba(0, 0, 0, 0.82) 43%,
      rgba(0, 0, 0, 0.48) 59%,
      rgba(0, 0, 0, 0.12) 78%,
      rgba(0, 0, 0, 0) 100%
    );

  pointer-events: none;
}

.models-hero-grid {
  position: relative;
  z-index: 2;

  display: flex;
  min-height: 500px;
  align-items: center;
}

.models-hero-copy {
  position: relative;
  z-index: 3;

  width: min(100%, 620px);
  padding: 65px 0;
}

.models-hero-copy .eyebrow {
  margin: 0 0 10px;

  color: #d71919;

  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.models-hero h1 {
  max-width: 650px;
  margin: 0 0 20px;

  color: #fff;

  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;

  text-shadow:
    0 3px 6px rgba(0, 0, 0, 0.85),
    0 10px 24px rgba(0, 0, 0, 0.55);
}

.models-hero h1 strong {
  display: block;
  color: #f5c400;
  font: inherit;
}

.models-hero-text {
  max-width: 570px;
  margin: 0;

  color: rgba(255, 255, 255, 0.95);

  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;

  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.85);
}

.models-hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.models-hero-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 0;
  border: 0;
  border-radius: 0;

  background: transparent;
  color: #fff;
}

.models-hero-benefits svg {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;

  padding: 8px;

  border: 2px solid #f5c400;
  border-radius: 50%;

  color: #f5c400;
}

.models-hero-benefits b {
  color: #fff;

  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/*
|--------------------------------------------------------------------------
| CatÃ¡logo
|--------------------------------------------------------------------------
*/

.models-catalogue {
  padding: 0 0 70px;
  background: #f5f5f5;
}

.models-filter-panel {
  position: relative;
  z-index: 3;

  display: flex;
  justify-content: space-between;
  gap: 18px;

  margin-bottom: 28px;
  padding: 15px;

  border: 1px solid #e5e7eb;
  border-radius: 12px;

  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);

  transform: translateY(-20px);
}

.models-filter-buttons,
.models-filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.models-filter-panel button,
.models-filter-panel select {
  min-height: 42px;
  padding: 0 15px;

  border: 1px solid #d6d6d6;
  border-radius: 7px;

  background: #fff;
  color: #222;

  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.models-filter-panel button:hover,
.models-filter-panel select:hover {
  border-color: #d71919;
  transform: translateY(-2px);
}

.models-filter-panel button.active {
  border-color: #d71919;
  background: #d71919;
  color: #fff;
}

.models-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;

  margin-bottom: 24px;
}

.models-section-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.models-section-heading > p {
  margin: 0;
  color: #68707a;
  font-weight: 700;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/*
|--------------------------------------------------------------------------
| CartÃµes dos modelos
|--------------------------------------------------------------------------
*/

.model-card {
  display: flex;
  flex-direction: column;

  padding: 20px;

  border: 1px solid #e5e7eb;
  border-radius: 12px;

  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.model-card:hover {
  transform: translateY(-6px);
  border-color: rgba(215, 25, 25, 0.45);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
}

.model-card[hidden] {
  display: none;
}

.model-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.model-card header > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.model-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.model-card header span,
.model-card header > b {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 0.67rem;
  text-transform: uppercase;
}

.model-card header span {
  background: #d71919;
  color: #fff;
}

.model-card header > b {
  background: #fff0ad;
  color: #7c5d00;
}

.model-card > img {
  width: 100%;
  height: 220px;
  margin: 12px 0;
  object-fit: contain;
}

.model-description {
  min-height: 48px;
  margin: 0 0 14px;

  color: #68707a;

  font-size: 0.86rem;
  line-height: 1.55;
}

/*
|--------------------------------------------------------------------------
| EspecificaÃ§Ãµes
|--------------------------------------------------------------------------
*/

.model-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;

  margin: 0;
  padding: 15px 0;

  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;

  list-style: none;
}

.model-specs li {
  display: flex;
  min-width: 0;
  gap: 6px;
}

.model-specs svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.model-specs b,
.model-specs span {
  display: block;
}

.model-specs b {
  color: #68707a;
  font-size: 0.63rem;
}

.model-specs span {
  font-size: 0.7rem;
  font-weight: 700;
}

/*
|--------------------------------------------------------------------------
| PreÃ§o
|--------------------------------------------------------------------------
*/

.model-price {
  min-height: 72px;
  padding: 15px 0;
}

.model-price small,
.model-price strong {
  display: block;
}

.model-price small {
  color: #68707a;
}

.model-price strong {
  color: #d71919;
  font-size: 1.18rem;
}

/*
|--------------------------------------------------------------------------
| AÃ§Ãµes dos cartÃµes
|--------------------------------------------------------------------------
*/

.model-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: auto;
}

.model-actions .button {
  display: inline-flex;
  min-height: 44px;

  align-items: center;
  justify-content: center;
  gap: 7px;

  padding: 10px 12px;

  border: 1px solid transparent;
  border-radius: 7px;

  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

/*
|--------------------------------------------------------------------------
| BotÃ£o Ver detalhes
|--------------------------------------------------------------------------
*/

.model-actions .button-outline,
.model-actions .button-outline:link,
.model-actions .button-outline:visited {
  border-color: #202124;
  background-color: #fff;
  color: #202124 !important;
}

.model-actions .button-outline:hover {
  border-color: #202124;
  background-color: #202124;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  transform: translateY(-2px);
}

.model-actions .button-outline:active {
  background-color: #000;
  color: #fff !important;
  transform: translateY(0);
}

/*
|--------------------------------------------------------------------------
| BotÃ£o Reservar
|--------------------------------------------------------------------------
*/

.model-actions .button-primary,
.model-actions .button-primary:link,
.model-actions .button-primary:visited,
.model-actions > .button:not(.button-outline),
.model-actions > .button:not(.button-outline):link,
.model-actions > .button:not(.button-outline):visited {
  border-color: #d71919;
  background-color: #d71919;
  color: #fff !important;
}

.model-actions .button-primary:hover,
.model-actions > .button:not(.button-outline):hover {
  border-color: #a80f0f;
  background-color: #a80f0f;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(215, 25, 25, 0.25);
  transform: translateY(-2px);
}

.model-actions .button-primary:active,
.model-actions > .button:not(.button-outline):active {
  background-color: #8e0c0c;
  transform: translateY(0);
}

.models-page .model-card .model-actions a.button-outline,
.models-page .model-card .model-actions a.button-outline:link,
.models-page .model-card .model-actions a.button-outline:visited {
  background: #fff;
  border-color: #202124;
  color: #202124 !important;
}

.models-page .model-card .model-actions a.button-outline:hover {
  background: #202124;
  border-color: #202124;
  color: #fff !important;
}

/*
|--------------------------------------------------------------------------
| Foco acessÃ­vel dos botÃµes
|--------------------------------------------------------------------------
*/

.model-actions .button-outline:focus-visible,
.model-actions .button-primary:focus-visible,
.model-actions > .button:not(.button-outline):focus-visible {
  outline: 3px solid rgba(245, 196, 0, 0.7);
  outline-offset: 3px;
}

.models-empty {
  padding: 55px 20px;
  text-align: center;
}

/*
|--------------------------------------------------------------------------
| ComparaÃ§Ã£o
|--------------------------------------------------------------------------
*/

.models-comparison {
  padding: 0 0 70px;
  background: #f5f5f5;
}

.comparison-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  overflow: hidden;

  border-radius: 12px;

  background: #101010;
  color: #fff;

  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
}

.comparison-copy {
  padding: 30px;

  background:
    radial-gradient(
      circle at bottom left,
      rgba(215, 25, 25, 0.35),
      transparent 55%
    ),
    #101010;
}

.comparison-copy h2 {
  margin: 10px 0 0;
  line-height: 1.25;
}

.comparison-table-wrap {
  overflow-x: auto;
  padding: 18px;
}

.comparison-table-wrap table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

.comparison-table-wrap th,
.comparison-table-wrap td {
  padding: 12px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.13);

  font-size: 0.78rem;
  text-align: center;
}

.comparison-table-wrap th:first-child {
  text-align: left;
}

.comparison-table-wrap thead th {
  color: #f5c400;
}

/*
|--------------------------------------------------------------------------
| Guia de escolha
|--------------------------------------------------------------------------
*/

.models-centered-heading {
  justify-content: center;
  text-align: center;
}

.models-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.models-guide-grid article {
  padding: 24px;

  border: 1px solid #e5e7eb;
  border-radius: 10px;

  background: #fff;
}

.models-guide-grid article > svg {
  width: 48px;
  height: 48px;

  padding: 11px;

  border-radius: 10px;

  background: #f5c400;
  color: #111;
}

.models-guide-grid h3 {
  margin: 16px 0 7px;
}

.models-guide-grid p {
  margin: 0;

  color: #68707a;

  font-size: 0.86rem;
  line-height: 1.6;
}

/*
|--------------------------------------------------------------------------
| CTA final
|--------------------------------------------------------------------------
*/

.models-cta {
  padding: 58px 0;

  background:
    linear-gradient(
      105deg,
      #9b0000,
      #d71919
    );

  color: #fff;
}

.models-cta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.models-cta h2 {
  margin: 8px 0 12px;

  font-size: clamp(2rem, 4vw, 3.2rem);
  text-transform: uppercase;
}

.models-cta p {
  color: #f4dddd;
}

.models-cta-links {
  display: grid;
  gap: 11px;
}

.models-cta-links a {
  display: flex;
  align-items: center;
  gap: 13px;

  padding: 14px 17px;

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;

  background: rgba(0, 0, 0, 0.16);
  color: #fff;

  text-decoration: none;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.models-cta-links a:hover {
  background: rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.models-cta-links svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.models-cta-links small,
.models-cta-links b {
  display: block;
}

.models-cta-links small {
  color: #f0cccc;
}

/*
|--------------------------------------------------------------------------
| Foco acessÃ­vel geral
|--------------------------------------------------------------------------
*/

.models-page button:focus-visible,
.models-page a:focus-visible,
.models-page select:focus-visible {
  outline: 3px solid rgba(245, 196, 0, 0.65);
  outline-offset: 3px;
}

/*
|--------------------------------------------------------------------------
| Responsividade
|--------------------------------------------------------------------------
*/

@media (max-width: 1050px) {
  .models-hero-background {
    object-position: 62% center;
  }

  .models-filter-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .models-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .models-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .models-hero {
    min-height: 580px;
  }

  .models-hero-background {
    object-position: 68% center;
  }

  .models-hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.98) 0%,
        rgba(0, 0, 0, 0.92) 46%,
        rgba(0, 0, 0, 0.62) 70%,
        rgba(0, 0, 0, 0.18) 100%
      );
  }

  .models-hero-grid {
    min-height: 580px;
    align-items: flex-start;
  }

  .models-hero-copy {
    width: min(100%, 590px);
    padding: 48px 0 180px;
  }

  .models-hero h1 {
    font-size: clamp(2.3rem, 8vw, 3.6rem);
  }

  .comparison-layout {
    grid-template-columns: 1fr;
  }

  .models-cta-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .models-hero {
    min-height: 620px;
  }

  .models-hero-grid {
    min-height: 620px;
  }

  .models-hero-copy {
    padding: 40px 0 185px;
  }

  .models-hero-background {
    object-position: 70% center;
  }

  .models-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .models-hero-text {
    font-size: 0.92rem;
  }

  .models-hero-benefits {
    display: grid;
    gap: 12px;
  }

  .models-hero-benefits span {
    width: fit-content;
  }

  .models-hero-benefits svg {
    width: 34px;
    height: 34px;
  }

  .models-filter-buttons,
  .models-filter-controls {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .models-filter-panel button,
  .models-filter-panel label,
  .models-filter-panel select {
    width: 100%;
  }

  .models-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .models-grid,
  .models-guide-grid {
    grid-template-columns: 1fr;
  }

  .model-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .models-filter-buttons,
  .models-filter-controls,
  .model-specs {
    grid-template-columns: 1fr;
  }

  .models-hero {
    min-height: 650px;
  }

  .models-hero-grid {
    min-height: 650px;
  }

  .models-hero-copy {
    padding-bottom: 200px;
  }
}

/*
|--------------------------------------------------------------------------
| ReduÃ§Ã£o de movimento
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
  .models-page *,
  .models-page *::before,
  .models-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}