/* Gotham-Light */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/gotham/gotham-light-webfont.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

/* Gotham-Medium */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/gotham/gotham-medium-webfont.woff2') format('woff2'), ;
    font-weight: 500;
    font-style: normal;
}

/* Gotham-Black */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/gotham/gotham-black-webfont.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Estilos gerais */
body {
    font-family: 'Gotham', Arial, sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f8f8;
    color: #333;
    font-size: 1.5vw;
}

strong,
b {
    font-family: 'Gotham', Arial, sans-serif;
    font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Gotham', Arial, sans-serif;
    font-weight: 900;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Estilo para o cabeçalho */
.header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #000;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #000;
}


/* Estilo para a logo */
.logo {
    display: flex;
    align-items: center;
    min-width: 20vw;
}

.logo .logo-campneus {
    max-width: 9vw;
    height: auto;
}

.logo .logo-pirelli {
    max-width: 7vw;
    margin-left: 1vw;
    height: auto;
}


/* Estilo para o menu de navegação */
.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav li {
    margin-right: 10rem;
}

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

.nav a:hover {
    color: #fed401;
    /* Cor ao passar o mouse */
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Texto colado à esquerda */
    width: 100%;
    /* Largura total */
    height: auto;
    /* Altura definida pela imagem */
    overflow: hidden;
    box-sizing: border-box;
}

/* Imagem de fundo */
.hero-bg {
    width: 100%;
}

/* Fundo preto translúcido atrás do texto */
.hero-content {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 5vw;
    max-width: 42vw;
    left: 0;
    height: 100%;
    position: absolute;
    top: 2vw;
}

/* Títulos e textos */
.hero h1 {
    font-size: 4.5vw;
    line-height: 4.5vw;
    margin-bottom: 1vw;
}

.hero p {
    font-size: 2vw;
    line-height: 2vw;
    margin-top: 1vw;
    margin-bottom: 1vw;
}

.hero p.numero {
    margin-top: 3vw;
    font-size: 3.2vw;
    margin-bottom: 2vw;
}

/* Botão */
.hero-buttons {
    display: flex;
    width: 28vw;
    justify-content: flex-start;
    gap: 0.5vw;
}

.hero-button {
    display: flex;
    background-color: #FFF;
    color: #000;
    text-decoration: none;
    padding: 0.7vw;
    font-size: 1.5vw;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s;
    min-width: 9vw;
    border: 1px solid #000;
    justify-content: center;
    align-items: center;
}

.hero-button.alternative {
    background-color: #000;
    color: #FFF;
    border: 1px solid #FFF;
    ;
}

.hero-button:hover {
    background-color: #d4ac0d;
}

.ml-1 {
    margin-left: 0.5vw;
}


/* Promoções Section */
.promocoes {
    padding: 20px;
    background-color: #4f5965;
}

/* Produtos Section */
.produtos {
    padding: 20px;
    text-align: center;
    background-color: #d0d0d0;

}

.product-list {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.product {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    max-width: 25vw;
}

.product img {
    width: 100%;
    height: auto;
}

.product p {
    font-size: 1em;
    margin: 10px 0;
}

.product span {
    color: #ff0000;
    font-weight: bold;
}

.mapa {
    background-color: #101010;
    /* Fundo preto */
    padding: 30px 20px;
    color: #fff;
}

.mapa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.mapa-texto {
    text-align: left;
    max-width: 60%;
}

.mapa-header h2 {
    font-size: 2.8vw;
    line-height: 2.8vw;
    max-width: 48vw;
    padding: 2vw 9vw;
}

.mapa-header p {
    margin-bottom: 0;
    color: #fff;
    max-width: 23vw;
}

.mapa-busca {
    display: flex;
    gap: 10px;
    max-width: 35%;
    justify-content: flex-end;
    flex-wrap: nowrap;
    flex-direction: column;
    margin-bottom: 3vw;
}

.mapa-busca input {
    padding: 10px;
    flex-grow: 1;
    border-radius: 5px;
    border: none;
    background-color: #4f5965;
    color: #d0d0d0;
}

.mapa-busca input::placeholder {
    color: #cecece;
}   

.mapa-busca button {
    padding: 10px 20px;
    background-color: #fff;
    color: #101010;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.mapa-busca button:hover {
    background-color: #ffd100;
    color: #101010;
}

.mapa-iframe iframe {
    border-radius: 10px;
    border: none;
    max-width: 100%;
    height: 450px;
}

.mapa-iframe {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 5px;
}


/* Serviços Section */
.servicos {
    padding: 20px;
    background-color: #fff;
    text-align: center;
}

.servicos-carrossel {
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
}

footer .social-media img {
    width: 30px;
    margin: 0 10px;
}

.text-yellow {
    color: #fed401;
}

.aqui-tem {
    background: #13171d;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.aqui-tem h2 {
    font-size: 2.5rem;
    color: #ffd700;
}

.aqui-tem h2 span {
    color: #fff;
}

.aqui-tem-img {
    max-height: 14vw;
}

.aqui-tem-bg {
    background-color: #191d21;
}

.features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feature {
    flex: 1 1 calc(50% - 20px);
    /* Cada item ocupa 50% menos o espaço do gap */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3vw;
}

.feature img {
    max-height: 7vw;
    /* Ajuste conforme o tamanho desejado */
    margin-bottom: 10px;
}

.feature p {
    margin: 0;
    text-align: center;
    max-width: 20vw;
}

.servicos {
    background: #0b0b0c;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.servico {
    justify-items: center;
}

.servico img {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}

.footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    margin: 10px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icons svg {
    width: 4vw;
    height: auto;
}

/* Header Estilo Geral */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
}

/* Logo */
.logo img {
    max-height: 50px;
}

/* Nav para Desktop */
.nav {
    display: flex;
    font-size: 1vw;
    margin-left: 10vw;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #ffc107;
}

/* Botão Menu (Mobile) */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

.product {
    transform: scale(0.7);
}

.product.swiper-slide-active {
    transform: scale(1);
}

/* Mobile Style */
@media (max-width: 768px) {
    body {
        margin-top: 15vw;
        font-size: 2.5vw;
        line-height: 2.5vw;
    }

    h1 {
        font-size: 5vw;
        line-height: 5vw;
    }

    h2 {
        font-size: 4vw;
        line-height: 4vw;
    }

    .header {
        height: 15vw;
    }

    .hero-content {
        top: 2vw;
    }

    .menu-toggle {
        display: block;
    }

    .hero-buttons svg {
        width: 2vw;
    }

    .feature img {
        max-height: 12vw;
        margin-bottom: 2vw;
    }

    .mapa-header h2 {
        font-size: 4.8vw;
        line-height: 4.8vw;
        padding: 2vw 5vw;
        text-align: center;
        max-width: max-content;
    }

    .mapa-texto {
        max-width: max-content;
    }

    .nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 15vw;
        left: 0;
        width: 100%;
        background-color: #000;
        padding: 10px 20px;
        margin: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        font-size: 3vw;
    }

    .nav.active {
        display: flex;
        /* Mostra o menu ao clicar */
    }

    .product-list {
        flex-direction: column;
        align-items: center;
    }

    .logo .logo-campneus {
        max-width: 30vw;
    }

    .logo .logo-pirelli {
        max-width: 20vw;
        margin-left: 3vw;
    }

    .mapa-header {
        margin-bottom: 0;
        flex-direction: column;
    }

    .mapa-busca {
        align-items: center;
        max-width: max-content;
    }

    .mapa-header p {
        max-width: max-content;
    }
}