@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: #000;
    overflow: hidden;
    overflow:auto;
}


/* CARROSSEL */

.carrossel {
    position: relative;

    width: 100%;
    height: 90vh;

    overflow: hidden;

    background: #000;
}


/* IMAGEM */

#banner {
    width: 100%;
    height: 100%;

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

    display: block;
}


/* SETAS */

.seta {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    width: 52px;
    height: 52px;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.55);
    color: white;

    font-size: 27px;

    cursor: pointer;

    z-index: 10;
}

.esquerda {
    left: 25px;
}

.direita {
    right: 25px;
}




/* CELULAR */

@media (max-width: 768px) {

    .seta {
        width: 44px;
        height: 44px;

        font-size: 21px;
    }

    .esquerda {
        left: 12px;
    }

    .direita {
    right: 12px;
}

.linhas-produtos {
    gap: 18px;
}

.linhas-produtos .linha:nth-child(2) {
    margin-left: 12px;
}

}/* BOLINHAS DO CARROSSEL */

.indicadores {
    position: absolute;

    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    gap: 10px;

    z-index: 10;
}

.bolinha {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.55);

    transition: 0.3s;
}

.bolinha.ativa {
    width: 28px;

    border-radius: 10px;

    background: #d90000;
}/* MENU SUPERIOR */

.topo {
    width: 100%;
    height: 68px;

    background: #000;

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

    padding: 0 4%;

    position: relative;
    z-index: 100;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* ÁREA DA LOGO */

.logo {
    width: 240px;
    height: 60px;

    display: flex;
    align-items: center;
}


/* LOGO */

.logo img {
    width: 100%;
    height: 100%;

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

    display: block;

    transform: scale(1.20);
    transform-origin: left center;
}


/* MENU */

.menu {
    display: flex;
    align-items: center;

    gap: 42px;
}


/* LINKS */

.menu a,
.botao-modelos {
    position: relative;
    
    color: #ffffff;

    text-decoration: none;

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

    letter-spacing: 0.5px;

    padding: 37px 0 32px;

    transition: color 0.3s ease;
}


/* LINHA VERMELHA */

.menu a::after,
.botao-modelos::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 22px;

    width: 0;
    height: 2px;

    background: #d90000;

    transition: width 0.3s ease;
}


.menu a:hover::after,
.botao-modelos:hover::after {
    width: 100%;
}




.menu a:hover::after {
    width: 100%;
}

/* LOGO DO MENU */

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: auto;
    height: 50px;
    max-width: 220px;
    object-fit: contain;
}


/* LINKS DO MENU */

.menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.menu a {
    color: #fff;
    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 600;

    transition: color 0.3s ease;
}

.menu a:hover {
    color: #d90000;
}/* SEÇÃO DE PRODUTOS */

.catalogo {
    width: 100%;
    min-height: 420px;

    background: #fff;

    padding: 55px 8% 10px;
}


/* CATEGORIAS PRINCIPAIS */

.categorias-principais {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    gap: 50px;

    margin-bottom: 35px;
}

.categoria-principal {
    position: relative;

    border: none;
    background: transparent;

    color: #555;

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

    text-transform: uppercase;

    cursor: pointer;

    padding: 10px 0;
}

.categoria-principal.ativa {
    color: #111;
}

.categoria-principal.ativa::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 3px;

    background: #d90000;
}


/* MARCAS */

.marcas {
    display: flex;
    justify-content: flex-start;

    gap: 35px;

    margin-bottom: 30px;
}

.marca {
    border: none;
    background: transparent;

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

    color: #999;

    cursor: pointer;
}

.marca.ativa {
    color: #d90000;
}


/* LINHAS CFMOTO */

.linhas-produtos {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    gap: 40px;
}

.linha {
    border: none;
    background: transparent;

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

    color: #777;

    cursor: pointer;

    padding-bottom: 8px;
}

.linha.ativa {
    color: #111;

    border-bottom: 2px solid #111;
}/* ÁREA DO VEÍCULO */

.produto-area {
    position: relative;

    width: 100%;
    min-height: 560px;

    margin-top: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    overflow: hidden;

    background: #ffffff ,

}

/* SETAS DO PRODUTO */
.seta-produto {
    position: absolute;
    top: 58%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #333;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

#produto-anterior {
    left: 35px;
}

#produto-proximo {
    right: 35px;
}

/* NOME GRANDE ATRÁS DO VEÍCULO */
.nome-grande {
    position: absolute !important;
    top: 145px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    width: 100%;
    text-align: center;

    font: 700 clamp(150px, 17vw, 265px) "Sora", Arial, sans-serif;
    color: #e7e7e7;
    line-height: 1;

    will-change: transform, opacity;

    z-index: 1;
}

/* QUADRICICLO */

#imagem-veiculo {
    position: relative !important;
    z-index: 2;
    width: 74%;
    max-width: 860px;
    height: 440px;
    object-fit: contain;
    display: block;

    will-change: transform, opacity;
    backface-visibility: hidden;

   transition: opacity .18s ease;
    transform: scale(var(--zoom, 1.25));
}

/* NOME DO MODELO */

#nome-veiculo {
    position: relative;
    z-index: 3;
    margin-top: 10px;
    min-height: 46px;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    font-family: "Sora", Arial, sans-serif;
    font-size: 37px;
    font-weight: 700;
    line-height: 1.1;
    transform: none;

    color: #111;
}
 /* CORREÇÃO GERAL */

body {
    padding-top: 68px;
    overflow-x: hidden;
    overflow-y: auto;
}

/* MENU SEMPRE VISÍVEL */
.topo {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

/* ÁREA DO PRODUTO */
.produto-area {
    position: relative !important;
    width: 100%;
    min-height: 720px;
    height: 720px;
    overflow: hidden;
    text-align: center;
}
/* FRASE */
.texto-produto { transition: opacity .18s ease;
    position: relative !important;
    z-index: 4;
    text-align: center !important;
    margin-top: 25px;
}

.texto-produto h3 {
    font: 700 34px "Sora", Arial, sans-serif;
    margin: 0;
}

.texto-produto p {
    font: 500 20px "Sora", Arial, sans-serif;
    color: #777;
    margin-top: 6px;
}

/* 1000 MV GRANDE */
.nome-grande {
    position: absolute !important;
    top: 100px !important;
    left: 0 !important;
    transform: none !important;
    width: 100%;
    text-align: center;
    font: 700 clamp(150px, 18vw, 280px) "Sora", Arial, sans-serif;
    color: #e5e5e5;
    line-height: 1;
    
    transition:opacity .18s ease, translate .18s ease;
    
    z-index: 1;

}
/* QUADRICICLO */
#imagem-veiculo {
    position: relative !important;
    z-index: 2;
    width: 82%;
    max-width: 980px;
    height: 480px;
    object-fit: contain;
    display: block;
    margin: 90px auto 0;
}

.menu a,
.categoria-principal,
.marca,
.linha,
.texto-produto h3,
.texto-produto p,
.nome-grande,
#nome-veiculo {
    font-family: "Sora", Arial, sans-serif !important;
}
.texto-produto h3,
#nome-veiculo,
.nome-grande {
    font-weight: 700 !important;
}

.categoria-principal,
.marca,
.linha,
.menu a {
    font-weight: 600 !important;
}

.texto-produto p {
    font-weight: 400 !important;
}
/* LINHA PRINCIPAL */
.categorias-principais {
    width: 100%;
    display: flex;
    position: relative;
    border-bottom: 2px solid #c4c4c4;
    margin-bottom: 14px;
}

/* MARCAS E LINHAS DE PRODUTOS */
.marcas,
.linhas-produtos {
    display: flex;
    width: fit-content;
    position: relative;
    border-bottom: 2px solid #c4c4c4;
    margin-bottom: 14px;
}

/* BOTÕES */
.categoria-principal,
.marca,
.linha {
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

/* ITEM SELECIONADO */
.categoria-principal.ativa,
.marca.ativa,
.linha.ativa {
    border-bottom: 2px solid #c62828;
}
.categoria-principal.ativa,
.marca.ativa,
.linha.ativa {
    border-bottom: 2px solid #c62828 !important;
}

/* evita uma segunda barrinha antiga */

.menu-modelos {
    position: relative;
}

   .botao-modelos {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
}

.seta-modelos {
    position: relative;
    width: 14px;
    height: 8px;
    display: inline-block;
    flex-shrink: 0;

    transform: translateY(-2px) rotate(0deg);
    transform-origin: center;
    transition: transform .3s ease;
}

.seta-modelos::before,
.seta-modelos::after {
    content: "";
    position: absolute;
    top: 2px;

    width: 8px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.seta-modelos::before {
    left: 0;
    transform: rotate(45deg);
}

.seta-modelos::after {
    right: 0;
    transform: rotate(-45deg);
}

.menu-modelos.aberto .seta-modelos {
    transform: translateY(-6px) rotate(180deg);
}

.submenu-modelos {
    display: none;
    position: absolute;

    top: 100%;
    left: 0;

    min-width: 210px;

    background: #fff;
    border: 1px solid #bdbdbd;
    border-radius: 12px;

    padding: 8px 0;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);

    z-index: 1000;
    overflow: hidden;
}

.submenu-modelos a {
    display: block;
    padding: 14px 20px;

    color: #222 !important;
    font-size: 15px;
    font-weight: 500;

    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.submenu-modelos a::after {
    display: none !important;
}

.submenu-modelos a:hover {
    background: #f5f5f5;
    color: #c62828 !important;
}

.menu-modelos.aberto .submenu-modelos {
    display: block;
}

.menu-modelos.aberto .seta-modelos {
    transform: rotate(180deg);
}

.submenu-modelos a {
    position: relative;
    display: block;
    width: fit-content;

    margin-left: 20px;
    padding: 14px 0;

    color: #222 !important;
    text-decoration: none !important;
}

.submenu-modelos a:hover {
    color: #222 !important;
    text-decoration: none !important;
    background: transparent !important;
}

.submenu-modelos a::after {
    content: "";
    display: block !important;
    position: absolute;

    left: 0;
    bottom: 8px;

    width: 0;
    height: 2px;

    background: #c62828;
    transition: width .3s ease;
}

.submenu-modelos a:hover::after {
    width: 100%;
}

/* MOBILE */
.menu-mobile {
    display: none;
}

@media (max-width: 768px)  {
    
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.topo,
.carrossel,
.catalogo,
.produto-area {
    width: 100%;
    max-width: 100vw;
}

    .topo {
        height: 70px;
        padding: 0 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 145px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

    .menu-mobile {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;

        width: 38px;
        height: 38px;

        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .menu-mobile span {
        display: block;
        width: 26px;
        height: 3px;
        border-radius: 2px;
        background: #fff;
        transition: .25s ease;
    }

    .menu {
        display: none;
     } 

.botao-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10002;
}

@media (max-width: 768px) {
    .menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 72%;
        height: calc(100dvh - 70px);
        background: inherit;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 90px 26px 30px;
        gap: 0;
        transition: right 0.35s ease;
        z-index: 9999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    }

    .menu.aberto {
        right: 0;
    }
    
}

.fechar-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
}

.menu-modelos {
    width: 100%;
}

.botao-modelos {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    text-decoration: none;
    font-family: "Sora", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.seta-modelos {
    position: relative;
    width: 14px;
    height: 8px;
    display: inline-block;
    flex-shrink: 0;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform .3s ease;
}

.seta-modelos::before,
.seta-modelos::after {
    content: "";
    position: absolute;
    top: 2px;
    width: 8px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.seta-modelos::before {
    left: 0;
    transform: rotate(45deg);
}

.seta-modelos::after {
    right: 0;
    transform: rotate(-45deg);
}

.menu-modelos.aberto .seta-modelos {
    transform: rotate(180deg);
}

.submenu-modelos {
    display: none;
    position: static !important;
    width: 100%;
    min-width: 0;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 6px 0 10px 18px;
    flex-direction: column;
}

.menu-modelos.aberto .submenu-modelos {
    display: flex !important;
    flex-direction: column;
    position: static !important;
    width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
}

.submenu-modelos a {
    color: #fff !important;
    text-decoration: none;
    font-family: "Sora", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 0;
    background: transparent !important;
    border: none !important;
}

.menu > a::after,
.botao-modelos::after,
.submenu-modelos a::after {
    display: none !important;
}

.menu > a {
    width: 100%;
    color: #fff;
    text-decoration: none;
    font-family: "Sora", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.submenu-modelos a {
    color: #fff;
    text-decoration: none;
    font-family: "Sora", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 0;
}

.menu-modelos.aberto .botao-modelos {
    color: #d90000;
}

.menu-modelos.aberto .seta-modelos::before,
.menu-modelos.aberto .seta-modelos::after {
    background: #d90000;


}

.submenu-modelos a,
.submenu-modelos a:visited {
    color: #fff !important;
}

.submenu-modelos a:active,
.submenu-modelos a:focus {
    color: #d90000 !important;

}
/* ===== CATÁLOGO MOBILE ===== */

.catalogo {
    width: 100%;
    max-width: 100vw;
    padding: 35px 18px 0;
    overflow: hidden;
}

/* Faixas de categorias, marcas e linhas no mobile */
.categorias-principais,
.marcas,
.linhas-produtos {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0px;

  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  border-bottom: none;
}

/* Esconde a barra, mantendo a rolagem pelo dedo */
.categorias-principais::-webkit-scrollbar,
.marcas::-webkit-scrollbar,
.linhas-produtos::-webkit-scrollbar {
  display: none;
}

/* Cada opção mantém seu espaço */
.categoria-principal,
.marca,
.linha {
  flex: 0 0 auto;
  min-width: max-content;
  box-sizing: border-box;
  padding: 12px 16px;
  margin-bottom: 0;

  font-size: 14px !important;
  line-height: 1.3;
  white-space: nowrap;
  text-align: center;
  scroll-snap-align: start;
  
}

/* Une as linhas dos modelos no mobile */
.linhas-produtos {
  gap: 0 !important;
}

.linhas-produtos .linha {
  flex: 0 0 auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Segunda faixa ocupa toda a largura */
.marcas {
  width: 100% !important;
  gap: 0 !important;
}

.marcas .marca {
  flex: 1 1 0 !important;
  min-width: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ÁREA DO PRODUTO */
.produto-area {
    width: 100% !important;
    max-width: 100vw !important;
    height: 620px !important;
    min-height: 620px !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 0 15px;
}

/* FRASE */
.texto-produto {
    width: 100% !important;
    margin-top: 35px !important;
    padding: 0 10px;
    text-align: center !important;
    position: relative;
    z-index: 4;
}

.texto-produto h3 {
    font-size: 28px !important;
    line-height: 1.08 !important;
    max-width: 390px;
    margin: 0 auto !important;
}

.texto-produto p {
    font-size: 17px !important;
    line-height: 1.3 !important;
    margin: 8px auto 0 !important;
    width: 100%;
}

/* ===== PRODUTO MOBILE ===== */

.nome-grande {
top: 145px !important;
  left: 50% !important;
  width: 100% !important;
transform: translateX(-50%) !important;
  font-size: clamp(80px, 29vw, 140px) !important;
  transform-origin: center top;
  line-height: 0.9 !important;
  text-align: center;
  white-space: nowrap !important;
  overflow-wrap: normal;
color: #e2e2e2 !important;
}

.nome-grande .fundo-linha {
  display: block;
  white-space: nowrap;
}

.nome-grande .fundo-sufixo {
  position: absolute;
  top: 210px;
  left: 0;
  width: 100%;
  margin: 0;
  font-size: 0.65em;
  line-height: 1;
  transform: none;
}

.nome-grande.sufixo-proximo .fundo-sufixo {
  top: 180px;
}

/* Espaçamento dos quadriciclos e da Fun Motors */
.catalogo:has(.categoria-principal:nth-child(1).ativa) .nome-grande {
 top: 178px !important;
}

/* Complementos maiores, como MV e LX */
.catalogo:has(.categoria-principal:nth-child(1).ativa)
.nome-grande .fundo-sufixo {
  top: 180px;
  font-size: 0.85em;
}

/* Mantém os complementos curtos próximos do produto */
.catalogo:has(.categoria-principal:nth-child(1).ativa)
.nome-grande.sufixo-proximo .fundo-sufixo {
  top: 150px;
}

/* Aproxima as linhas de MUDHEAD e E-FLASH */
.produto-area:has(#imagem-veiculo[alt*="E-FLASH"])
.nome-grande .fundo-sufixo,
.produto-area:has(#imagem-veiculo[alt*="MUDHEAD"])
.nome-grande .fundo-sufixo {
  position: absolute !important;
  top: 0.85em !important;
  left: 0;
  width: 100%;
  margin: 0 !important;
  font-size: 1em !important;
  line-height: 0.85 !important;
  transform: none !important;
}

/* Espaço antes do nome do produto */
.catalogo:has(.categoria-principal:nth-child(1).ativa)
#nome-veiculo {
  margin: 10px auto 0 !important;
}
/* VEÍCULO */
#imagem-veiculo {
    width: 100% !important;
    max-width: 420px !important;
    height: 330px !important;

    object-fit: contain !important;

    margin: -25px auto 0 !important;

    
    transform: scale(var(--zoom, 1));
    
}

#imagem-veiculo[alt="CFORCE 1000MV"],
#imagem-veiculo[alt="CFORCE 1000LX"] {
  transform: scale(var(--zoom, 1));
}

/* NOME DO MODELO */
#nome-veiculo {
    width: calc(100% - 120px) !important;
margin: -18px auto 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;

    text-align: center;
    font-size: 27px !important;
    line-height: 1 !important;

    white-space: nowrap;
    transform: none !important;
}


/* SETAS DO PRODUTO */
.seta-produto {
    top: auto !important;
    bottom: 18px !important;

    width: 48px !important;
    height: 48px !important;

    transform: none !important;
}

#produto-anterior {
    left: 15px !important;
}

#produto-proximo {
    right: 15px !important;
}


/* mantém todos os botões da última fileira com a mesma altura */
.linhas-produtos {
    align-items: stretch !important;
}

.linhas-produtos .linha {
    min-height: 52px !important;

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

    line-height: 1.05 !important;
}

/* ===== LINHAS MOBILE - PADRÃO DEFINITIVO ===== */

.categorias-principais .categoria-principal,
.marcas .marca,
.linhas-produtos .linha {
    position: relative !important;
   border-bottom: 2px solid #d0d0d0 !important;
    box-shadow: none !important;
}

/* desliga TODAS as linhas antigas feitas com ::after */
.categorias-principais .categoria-principal::after,
.marcas .marca::after,
.linhas-produtos .linha::after {
    content: none !important;
    display: none !important;
}

/* linha vermelha igual nos 3 níveis */
.categorias-principais .categoria-principal.ativa {
    border-bottom: 2px solid #c62828 !important;
}

.marcas .marca.ativa {
    border-bottom: 2px solid #c62828 !important;
}

.linhas-produtos .linha.ativa {
    border-bottom: 2px solid #c62828 !important;
}

body.modo-barcos .nome-grande {
  top: 150px !important;
}

/* Remove a faixa de modelos sem uso em barcos e motores */
.catalogo:has(.categoria-principal:nth-child(2).ativa) .linhas-produtos,
.catalogo:has(.categoria-principal:nth-child(3).ativa) .linhas-produtos {
  display: none !important;
}

/* Aproxima o conteúdo da faixa de marcas */
.catalogo:has(.categoria-principal:nth-child(2).ativa) .produto-area,
.catalogo:has(.categoria-principal:nth-child(3).ativa) .produto-area {
  margin-top: 0 !important;
}

.catalogo:has(.categoria-principal:nth-child(2).ativa) .texto-produto,
.catalogo:has(.categoria-principal:nth-child(3).ativa) .texto-produto {
  margin-top: 20px !important;
}

}

/* ===== DESKTOP ===== */
@media (min-width: 769px) {

    .categorias-principais .categoria-principal,
    .marcas .marca,
    .linhas-produtos .linha {
        border-bottom: 1px solid #d0d0d0 !important;
        box-shadow: none !important;
    }

    .categorias-principais .categoria-principal::after,
    .marcas .marca::after,
    .linhas-produtos .linha::after {
        content: none !important;
        display: none !important;
    }

    .categorias-principais .categoria-principal.ativa,
    .marcas .marca.ativa,
    .linhas-produtos .linha.ativa {
        border-bottom: 2px solid #c62828 !important;
        box-shadow: none !important;
    }
}

/* ===== ÚLTIMAS ATUALIZAÇÕES ===== */

.atualizacoes {
    width: 100%;
    background: #fff;
    padding: 80px 8% 70px;
    font-family: "Sora", Arial, sans-serif;
}

.atualizacoes-topo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 45px;
}

.atualizacoes-topo h2 {
    margin: 0;
    font-size: 42px;
    font-weight: 600;
    color: #111;
}

.ver-noticias {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 24px;
    border: 1.5px solid #999;
    border-radius: 999px;

    color: #222;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    transition: 0.25s ease;
}
/* ===== NOTÍCIA PRINCIPAL ===== */

.noticia-principal {
    width: 100%;
    display: grid;
    grid-template-columns: 38% 62%;
    min-height: 470px;
    margin-bottom: 35px;
    overflow: hidden;
}

.noticia-principal-texto {
    background: #f9f9f9;
    padding: 45px 40px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.data-noticia {
    font-size: 12px;
    font-weight: 600;
    color: #d90000;
    margin-bottom: 14px;
}

.noticia-principal-texto h3 {
    margin: 0 0 18px;
    font-size: 30px;
    line-height: 1.15;
    color: #222;
}

.noticia-principal-texto p {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}

.botao-noticia {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 12px 22px;

    background: #111;
    color: #fff;

    border-radius: 999px;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    margin-top: auto;
}


.noticia-principal-imagem {
    width: 100%;
    height: 470px;
}

.noticia-principal-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ===== 4 NOTÍCIAS MENORES ===== */

.grade-noticias {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.card-noticia {
    min-width: 0;
}

.card-noticia img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    display: block;

    margin-bottom: 14px;
}

.card-noticia .data-noticia {
    display: block;
    margin-bottom: 8px;
    color: #d90000;
}

.card-noticia h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
    color: #252525;
}


/* DESCRIÇÃO DOS CARDS DE NOTÍCIAS */

.card-noticia .card-noticia-descricao {
    margin: 12px 0 0;
    color: #707070;
    font-family: "Sora", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}


/* ===== DETALHES VERMELHOS ===== */

.atualizacoes-topo h2 {
    position: relative;
    padding-bottom: 12px;
}

.atualizacoes-topo {
    display: flex;
    align-items: center;
    gap: 25px;
}

.atualizacoes-topo h2 {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 25px;

    margin: 0;
    padding: 0;

    font-size: 42px;
    font-weight: 600;
    color: #111;
}

.atualizacoes-topo h2::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d3d3d3;
}

@media (min-width: 769px) {
    .botao-menu,
    .fechar-menu {
        display: none !important;
    }
}

.botao-noticia {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 12px 24px;

    background: #111;
    color: #fff !important;

    border-radius: 999px;
    text-decoration: none !important;

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


.botao-noticia:hover {
    background: #111;
    color: #fff !important;
}

.botao-noticia:hover .seta-ver-mais-svg {
    stroke: #d90000;
}

.ver-noticias {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.seta-ver-noticias-svg {
   width: 22px;
  height: 14px;
  stroke: #c62828;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.noticia-principal-texto .ver-noticias {
    margin-top: 100px;
}

.imagem-card-noticia {
    position: relative;
}

.imagem-card-noticia img {
    display: block;
    width: 100%;
}

.numero-noticia {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 42px;
    height: 42px;

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

    background: #fff;
    color: #111;

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

.noticia-principal-imagem {
    position: relative;
}

.rodape {
    width: 100%;
    margin-top: 0px;
    background: #fff;
    border-top: 3px solid #e5e5e5;
    font-family: "Sora", Arial, sans-serif;
}

.rodape-topo {
    background: #fff;
    padding: 100px 130px 125px;
}

.rodape-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    background: #fff;
}

.rodape-coluna h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 18px;
}

.rodape-coluna a,
.rodape-coluna p {
    display: block;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    margin-bottom: 10px;
    line-height: 1.5;
    transition: 0.2s ease;
}

.rodape-coluna a:hover {
    color: #c62828;
}

.icones-redes {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
}

.rodape-bottom {
    background: #fff;
    padding: 18px 60px;
    border-top: 1px solid #e5e5e5;
}

.rodape-bottom-conteudo {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.rodape-bottom p {
    color: #555;
    font-size: 13px;
    margin: 0;
}

.rodape-links-bottom {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.rodape-links-bottom a,
.rodape-links-bottom button {
    color: #555;
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.rodape-links-bottom button {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.rodape-links-bottom a:hover,
.rodape-links-bottom button:hover {
    color: #c62828;
}

.icones-redes {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
}

.icones-redes a {
    font-size: 24px !important;
    color: #111;
    margin: 0 !important;
    text-decoration: none;
}

.icones-redes a:hover {
    color: #c62828;
}

.rodape-redes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.rodape-redes h3 {
    margin: 0 0 16px 0;
    width: 100%;
    text-align: center;
}

.icones-redes {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 22px;
    width: 100%;
}

.icones-redes a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: 27px !important;
    color: #111;
    margin: 0 !important;
}

/* =========================================
   ÚLTIMAS ATUALIZAÇÕES - MOBILE
   ========================================= */

@media (max-width: 768px) {

    /* seção inteira */
    .atualizacoes {
        width: 100% !important;
        padding: 45px 22px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* título + botão */
    .atualizacoes-topo {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 22px !important;
        margin-bottom: 35px !important;
    }

    .atualizacoes-topo h2 {
        font-size: 34px !important;
        line-height: 1.08 !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
    }

    .ver-noticias {
        align-self: flex-start !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }


    /* =========================
       NOTÍCIA PRINCIPAL
       ========================= */

    .noticia-principal {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-height: 0 !important;
        margin-bottom: 55px !important;
        overflow: visible !important;
    }

    /* imagem primeiro */
    .noticia-principal-imagem {
        width: 100% !important;
        height: 240px !important;
        order: 1 !important;
    }

    .noticia-principal-imagem img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* texto embaixo */
    .noticia-principal-texto {
        order: 2 !important;
        width: 100% !important;
        padding: 22px 4px 0 !important;
        background: transparent !important;
        box-sizing: border-box !important;
    }

    .noticia-principal-texto h3 {
        font-size: 26px !important;
        line-height: 1.15 !important;
        margin-bottom: 12px !important;
    }

    .noticia-principal-texto p {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }

    .data-noticia {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }


    /* =========================
       NOTÍCIAS 02, 03, 04 E 05
       ========================= */

    .grade-noticias {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 48px !important;
    }

    .card-noticia {
        width: 100% !important;
        min-width: 0 !important;
        display: block !important;
    }

    .card-noticia img {
        width: 100% !important;
        height: 210px !important;
        object-fit: cover !important;
        display: block !important;
        margin-bottom: 15px !important;
    }

    .card-noticia .data-noticia {
        display: block !important;
        margin-bottom: 9px !important;
        font-size: 12px !important;
    }

    .card-noticia h3 {
        width: 100% !important;
        font-size: 22px !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }
}

/* AJUSTES FINAIS - NOTÍCIAS MOBILE */

@media (max-width: 768px) {

    /* mostra a imagem principal inteira */
    .noticia-principal-imagem {
        width: 100% !important;
        height: auto !important;
    }

    .noticia-principal-imagem img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

.noticia-principal-texto {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 20px !important;
}

.noticia-principal-texto p {
    margin-bottom: 16px !important;
}

.noticia-principal-texto .botao-noticia {
    margin-top: -12 !important;
    align-self: flex-start !important;
}

    /* aproxima o botão Ver mais do texto */
    .noticia-principal-texto .botao-noticia {
        margin-top: 4px !important;
        align-self: flex-start !important;
    }

}

/* =========================================
   RODAPÉ - MOBILE
   ========================================= */

@media (max-width: 768px) {

    .rodape {
        width: 100%;
        margin-top: 0;
    }

    .rodape-topo {
        padding: 45px 32px 40px !important;
    }

    .rodape-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 35px !important;
        row-gap: 38px !important;
        width: 100%;
    }

    .rodape-coluna {
        width: 100%;
        min-width: 0;
    }

    .rodape-coluna h3 {
        font-size: 15px !important;
        margin: 0 0 14px 0 !important;
        line-height: 1.3;
    }

    .rodape-coluna a,
    .rodape-coluna p {
        font-size: 13px !important;
        line-height: 1.45 !important;
        margin-bottom: 8px !important;
    }

    .rodape-redes {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .rodape-redes h3 {
        text-align: left !important;
    }

    .icones-redes {
        justify-content: flex-start !important;
        gap: 14px !important;
    }

    .icones-redes a {
        width: 30px !important;
        height: 30px !important;
        font-size: 23px !important;
    }

    .rodape-bottom {
        padding: 22px 32px !important;
    }

    .rodape-bottom-conteudo {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }

    .rodape-bottom p {
        font-size: 12px !important;
        line-height: 1.5;
    }

    .rodape-links-bottom {
        display: flex !important;
        gap: 18px !important;
        flex-wrap: wrap;
    }

    .rodape-links-bottom a,
.rodape-links-bottom button {
    font-size: 12px !important;
}
}

@media (max-width: 768px) {
  .catalogo:has(.categoria-principal:nth-child(2).ativa) #imagem-veiculo {
    margin: 5px auto 0 !important;
  }

  .catalogo:has(.categoria-principal:nth-child(3).ativa) #imagem-veiculo {
    margin: 20px auto 0 !important;
  }

  .catalogo:has(.categoria-principal:nth-child(3).ativa) .nome-grande {
    top: 180px !important;
  }

  .catalogo:has(.categoria-principal:nth-child(2).ativa) #nome-veiculo,
  .catalogo:has(.categoria-principal:nth-child(3).ativa) #nome-veiculo {
    margin: 10px auto 0 !important;
  }
}

/* DESTAQUE DOS BARCOS NA HOME */

.barcos-destaque {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 80px 8%;

  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 540px);
  justify-content: space-between;
  align-items: center;
  gap: 80px;

  background: #fff;
  color: #202020;
  font-family: inherit;
}

.barcos-destaque-conteudo h2 {
  max-width: 460px;
  margin: 0 0 20px;

  color: #202020;
  font-family: inherit;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.2;
}

.barcos-destaque-conteudo p {
  max-width: 420px;
  margin: 0 0 25px;

  color: #606060;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.8;
}

.barcos-destaque-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  padding: 12px 24px;
  border: 1px solid #aaa;
  border-radius: 999px;
  background: transparent;
  
  color: #202020;
  font-family:"Sora",Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

.barcos-destaque-link img,
.barcos-destaque-link svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}


.barcos-destaque-link span {
  color: #202020;
  font-family: "Sora", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

.barcos-destaque-link:focus-visible {
  outline: 2px solid #c92026;
  outline-offset: 5px;
}

.barcos-destaque-visual {
  min-width: 0;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.barcos-destaque-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  box-shadow: none;
  filter: none;
}



@media (min-width: 769px) {
  .barcos-destaque {
    grid-template-columns: minmax(0, 380px) minmax(0, 660px);
    justify-content: center;
    gap: 250px;
  }

  .barcos-destaque-visual {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .barcos-destaque-visual img {
    width: 100%;
    max-width: none;
    height: auto;
  }
}
.barcos-destaque-conteudo h2,
.barcos-destaque-conteudo p {
  font-family: "Sora",Arial,sans-serif;
}

.barcos-destaque {
    position:relative;
    padding-top: 100px;

}

.barcos-destaque::before {
content: "";
position: absolute;
top:0;
left: 8%;
right:8%;
height:1px;
background:#d6d6d6
}

@media (max-width: 768px) {
  #nome-veiculo.nome-duas-linhas {
    display: block;
    white-space: pre-line;
    overflow-wrap: normal;
    word-break: normal;
  }
}

@media (max-width: 768px) {
  .catalogo .categorias-principais {
    position: relative;
    display: flex;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    border-bottom: none;
  }

  .catalogo .categorias-principais::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #ccc;
    pointer-events: none;
  }

  .catalogo .categoria-principal {
    position: relative;
    border-bottom: none;
  }

  .catalogo .categoria-principal.ativa::after {
    bottom: 0;
    height: 3px;
    z-index: 1;
  }
}

@media (max-width: 768px) {
  .barcos-destaque {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px 20px;
    height: auto;
    min-height: 0;
  }

  .barcos-destaque .barcos-destaque-conteudo {
    order: 0;
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .barcos-destaque #titulo-barcos {
    font-size: 30px;
    line-height: 1.15;
  }

  .barcos-destaque-conteudo p {
    max-width: none;
    font-size: 17px;
    line-height: 1.5;
  }

  .barcos-destaque-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    max-width: 100%;
    margin-top: 20px;
  }

  .barcos-destaque-link svg {
    flex-shrink: 0;
  }

  .barcos-destaque .barcos-destaque-visual {
    order: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
  }

  .barcos-destaque-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    transform: none;
  }
}

@media (max-width: 768px) {
  .barcos-destaque .barcos-destaque-visual {
    width: calc(100% + 24px);
    max-width: none;
    margin-left: -12px;
    margin-right: -12px;
  }

  .barcos-destaque .barcos-destaque-visual img {
    width: 100%;
    max-width: none;
    height: auto;
  }
}

/* Sombra do carrossel da página inicial */
#carrossel-home {
  position: relative;
  isolation: isolate;
}

#carrossel-home::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-home .seta,
#carrossel-home .indicadores {
  z-index: 3;
}

/* CARROSSEL DA HOME */
#carrossel-home {
  position: relative;
  isolation: isolate;
}

#carrossel-home .home-banner-link {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
}

#carrossel-home #banner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


#carrossel-home::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-home .home-hero-texto {
  position: absolute;
  left: 6%;
  bottom: 65px;
  z-index: 2;
  width: min(540px, 84%);
  color: #fff;
  text-align: left;
  font-family: "Sora", Arial, sans-serif;
}

#carrossel-home #home-linha {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
}

#carrossel-home #home-titulo {
  margin: 0 0 14px;
  font-family: inherit;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
}

#carrossel-home #home-descricao {
  max-width: 460px;
  margin: 0;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
}

#carrossel-home .seta,
#carrossel-home .indicadores {
  z-index: 3;
}

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

#carrossel-home .home-banner-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

@media (max-width: 768px) {
  #carrossel-home .home-hero-texto {
    left: 7%;
    bottom: 60px;
    width: 86%;
  }

  #carrossel-home #home-linha {
    font-size: 12px;
  }

  #carrossel-home #home-titulo {
    font-size: 28px;
  }

  #carrossel-home #home-descricao {
    font-size: 14px;
    line-height: 1.5;
  }
}


.whatsapp-flutuante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s;
}

.whatsapp-flutuante svg {
    width: 36px;
    height: 36px;
}

.whatsapp-flutuante:hover {
    transform: scale(1.1);
}


/* QUADRICICLOS E MOTORES - 50% CADA NO MOBILE */

@media (max-width: 768px) {
    .catalogo .categorias-principais {
        width: 100%;
        display: flex;
        gap: 0;
    }

    .catalogo .categorias-principais .categoria-principal {
        flex: 1 1 0 !important;
        width: 50%;
        min-width: 0;
        margin: 0;
        text-align: center;
    }
}

/* Posição inicial da primeira hero no mobile */
@media (max-width: 768px) {
  #carrossel-home #banner {
    object-position: 38% 50%;
  }
}

/* Remove a escrita de fundo da vitrine */
.catalogo #nome-grande {
    display: none !important;
}