/* =========================
   LINE UP MOTORES
========================= */

.lineup-motores {
    width: 100%;
    padding: 90px 0 100px;
    background: #fff;
}

.lineup-motores-container {
    width: 88%;
    max-width: 1400px;
    margin: 0 auto;
}


/* TÍTULO */

.lineup-motores h2 {
    margin: 0 0 28px;

    font-family: "Sora", Arial, sans-serif;
    font-size: 48px;
    font-weight: 600;

    color: #252525;
}


/* =========================
   MERCURY / YAMAHA
========================= */

.lineup-marcas-motores {
    display: inline-flex;
    align-items: center;

    gap: 42px;

    border-bottom: 2px solid #c6c6c6;

    margin-bottom: 35px;
}

.marca-motor {
    position: relative;

    padding: 0 0 9px;

    border: none;
    background: transparent;

    font-family: "Sora", Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;

    color: #555;

    cursor: pointer;
}

.marca-motor.ativa {
    color: #c62828;
}

.marca-motor.ativa::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -2px;

    width: 100%;
    height: 3px;

    background: #c62828;
}


/* =========================
   GRUPOS
========================= */

.grupo-motores {
    display: none;
}

.grupo-motores.ativo {
    display: block;
}


/* =========================
   GRID DOS MOTORES
========================= */

.grid-motores {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}


/* =========================
   CARD
========================= */

.card-motor {
    height: 610px;
    min-height: 610px;

    padding: 34px 28px 24px;

    display: flex;
    flex-direction: column;

    background: #272727;

    color: #fff;

    overflow: hidden;
}


/* TEXTO */

.card-motor-texto h3 {
    margin: 0 0 22px;

    font-family: "Sora", Arial, sans-serif;
    font-size: 25px;
    font-weight: 700;
}

.card-motor-texto h4 {
    margin: 0 0 20px;

    font-family: "Sora", Arial, sans-serif;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 600;
}

.card-motor-texto p {
    margin: 0;

    font-family: "Sora", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;

    color: rgba(255, 255, 255, 0.92);
}


/* =========================
   IMAGEM
========================= */

.card-motor-imagem {
    height: 240px;
    width: 100%;

    margin-top: auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.card-motor-imagem img {
    display: block;

    width: auto;
    height: auto;

    max-width: 90%;
    max-height: 225px;

    object-fit: contain;
    object-position: center;

    margin: 0 auto;
}


/* =========================
   LINK
========================= */

.card-motor-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

  
    margin-top: auto;

    color: #fff;
    text-decoration: none;

    font-family: "Sora", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.card-motor-link .seta-motor {
    position: relative;

    width: 34px;
    height: 34px;
    min-width: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #fff;
    border-radius: 50%;
}


/* LINHA DA SETA */

.card-motor-link .seta-motor::before {
    content: "";

    position: absolute;

    width: 12px;
    height: 2px;

    background: #fff;

    left: 9px;
    top: 14px;
}


/* PONTA DA SETA */

.card-motor-link .seta-motor::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    border-top: 2px solid #fff;
    border-right: 2px solid #fff;

    transform: rotate(45deg);

    right: 8px;
    top: 11px;
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 1050px) {

    .grid-motores {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 700px) {

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

    .lineup-motores h2 {
        font-size: 38px;
    }

}


.hero-motores {
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.hero-motores img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}

/* DEIXA A ÁREA DOS MOTORES MAIS COMPACTA */

.lineup-motores-container {
    width: 82%;
    max-width: 1180px;
    margin: 0 auto;
}

/* MESMA FONTE DA PÁGINA DE QUADRICICLOS */

.lineup-motores,
.lineup-motores h2,
.lineup-motores h3,
.lineup-motores h4,
.lineup-motores p,
.marca-motor,
.card-motor-link {
    font-family: "Sora", Arial, sans-serif !important;
}

/* AUMENTA OS MOTORES DENTRO DOS CARDS */

.card-motor-imagem {
    height: 250px;
}

.card-motor-imagem img {
    max-height: 240px;
    max-width: 100%;
    transform: scale(1.15);
}

/* DEIXA MERCURY / YAMAHA IGUAL AO CFMOTO / FUN MOTORS */

.lineup-marcas-motores {
    display: inline-flex;
    align-items: center;
    gap: 42px;

    width: fit-content;

    margin-bottom: 35px;

    border-bottom: 2px solid #c6c6c6;
}

.marca-motor {
    position: relative;

    border: none;
    background: transparent;

    padding: 0 0 8px;

    font-family: "Sora", Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;

    color: #666;

    cursor: pointer;
}

.marca-motor.ativa {
    color: #d90000;
}

.marca-motor.ativa::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -2px;

    width: 100%;
    height: 3px;

    background: #d90000;
}

.marca-motor:hover {
    color: #d90000;
}

/* AJUSTE INDIVIDUAL DOS MOTORES YAMAHA */

img[src="imagens-webp/yamaha-15hp.webp"] {
    transform: translateX(-20px);
}

img[src="imagens-webp/yamaha-40hp.webp"] {
    transform: translateX(-20px);
}

img[src="imagens-webp/yamaha-25hp.webp"] {
    transform: translateX(-20px);
}

.hero-motores {
    width: 100%;
    height: 900px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.hero-motores img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    margin: 0;
    padding: 0;
    border: 0;
}

@media (max-width: 768px) {
  .card-motor .card-motor-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .card-motor-link .seta-motor {
    flex-shrink: 0;
  }
}

#carrossel-quadriciclos::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.55) 22%,
      rgba(0, 0, 0, 0.25) 42%,
      transparent 65%
    ),
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.30) 0%,
      rgba(0, 0, 0, 0.12) 35%,
      transparent 65%
    );
}

#carrossel-quadriciclos #texto-uforce {
    position: absolute;
    z-index: 2;
    left: 6%;
    bottom: 12%;
    max-width: min(540px, 80%);
    color: #fff;
}

#carrossel-quadriciclos #texto-uforce[hidden] {
    display: none;
}

#carrossel-quadriciclos #texto-uforce h2 {
    margin: 0.3em 0;
    font-size: clamp(1.7rem, 4vw, 3.5rem);
    line-height: 1.05;
}

/* Texto no canto inferior esquerdo */
#carrossel-quadriciclos #texto-uforce {
  position: absolute;
  top: auto;
  right: auto;
  bottom: 55px;
  left: 6%;
  z-index: 2;
  width: min(540px, 84%);
  max-width: none;
  margin: 0;
  transform: none;
  color: #fff;
  text-align: left;
  font-family: "Poppins", Arial, sans-serif;
}

#carrossel-quadriciclos #texto-uforce .hero-cforce-linha {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
}

#carrossel-quadriciclos #texto-uforce h2 {
  margin: 0 0 14px;
  font-family: inherit;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.12;
}

#carrossel-quadriciclos #texto-uforce p {
  max-width: 460px;
  margin: 0 0 22px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
}

/* Botão */
#carrossel-quadriciclos #texto-uforce .btn-cforce {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 12px 22px;
  border: 1px solid #fff;
  border-radius: 30px;
  color: #fff;
  background: transparent;
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
}

/* Corrige a seta gigante */
#carrossel-quadriciclos #texto-uforce .seta-cforce-svg {
  display: block;
  width: 30px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

#carrossel-quadriciclos #texto-uforce .seta-cforce-svg path {
  fill: none;
  stroke: currentColor;
}

/* Celular */
@media (max-width: 768px) {
  #carrossel-quadriciclos #texto-uforce {
    left: 7%;
    bottom: 55px;
    width: 86%;
  }

  #carrossel-quadriciclos #texto-uforce h2 {
    font-size: 28px;
  }

  #carrossel-quadriciclos #texto-uforce p {
    font-size: 14px;
  }
}

#carrossel-quadriciclos .bolinha {
    border: 0;
    padding: 0;
    cursor: pointer;
}


