/* PADRÃO PARA TODA PÁGINA */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;  
}
/* CORPO DA PÁGINA */
body {
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}
/* MENU (NAVBAR) */
nav {
    position: fixed;
    width: 100%;
    background: #1e1e2f;
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    top: 0;
    z-index: 1000;
}
/* LOGO */
.logo {
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}
/* MENU (LISTA) */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
/* LINKS DO MENU*/
nav a {
    color: #fff;
    text-decoration: none;
    transition: 0.35;
}
/* EFEITO HOVER */
nav a:hover{
    color: #00bcd4;
}
/* SEÇÕES */
section {
    padding: 100px 20px;
    text-align: center;
    scroll-margin-top: 85px;
}
/* SEÇÃO INÍCIO */
.inicio-banner {
    position: relative;
    height: clamp(420px, 68vh, 560px);
    padding: 0;
    background: #000;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
/* QUEM SOMOS (IMAGEM) */
.quem-somos img {
    width: 150px;
    border-radius: 50%;
    margin: 15px 0;
}
/* QUEM SOMOS E CATEGORIAS */
.quem-somos,
.categorias {
    padding: clamp(40px, 5vw, 58px) 20px;
}

.quem-somos {
    padding-bottom: clamp(8px, 1.4vw, 14px);
}

.categorias {
    padding-top: clamp(8px, 1.4vw, 14px);
    scroll-margin-top: 85px;
}

.quem-somos h2,
.categorias h2 {
    margin-bottom: 6px;
}
/* SUBTÍTULO DA SEÇÃO QUEM SOMOS */
.quem-somos-subtitulo {
    margin-bottom: 10px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e1e2f;
}

.quem-somos p {
    max-width: 920px;
    margin: 0 auto;
    line-height: 1.55;
    font-size: 1.08rem;
}
/* CATEGORIAS */
.categorias ul {
    list-style: none;
    margin-top: 6px;
}

.categorias li {
    background: #00bcd4;
    color: white;
    display: inline-block;
    margin: 4px;
    padding: 6px 12px;
    border-radius: 16px;
}

.categorias li a {
    color: white;
    text-decoration: none;
}

.categorias li a:hover {
    color: #e9fdff;
}
/* ATENDIMENTO */
.atendimento p {
    margin: 5px;
}
/* RODAPÉ */
footer {
    background: #1e1e2f;
    color: white;
    padding: 15px;
    text-align: center;
}

/* OFERTAS */
.ofertas {
   background: #cecece; 
}

/* GRID (organização dos cards */
.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* CARD */
.produto-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,1);
    transition: 0.3s;
    overflow: hidden;
}

.produto-card img {
    width: 100%;
    height: clamp(190px, 18vw, 240px);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    background: #e9edf2;
    border-radius: 8px;
    margin-bottom: 12px;
    display: block;
}

/* EFEITO HOVER */
.produto-card:hover {
    transform: translateY(-10px);
}

/* TÍTULO DO CARD */
.produto-card h3 {
    margin-bottom: 10px;
    color: #383838;
}

/* TEXTO */
.produto-card p {
    margin-bottom: 15px;
}

/* LISTA DE ESPECIFICAÇÕES */
.produto-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 10px;
}

.produto-card li {
    margin: 3px 0;
    padding: 0;
    font-size: 0.95rem;
}

/* LINK */
.produto-card a {
    text-decoration: none;
    color: white;
    background: #00bcd4;
    padding: 8px 12px;
    border-radius: 5px;
    transition: 0.3s;
}
/* EFEITO HOVER NO LINK */

.produto-card a:hover{
    background: #0197a7;
}
/* CARROSSEL */
.inicio-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.inicio-carrossel {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
}

.inicio-carrossel a {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
    z-index: 1;
}

.inicio-carrossel a.ativa-link {
    pointer-events: auto;
    z-index: 2;
}

.inicio-carrossel img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
    top: 0;
    left: 0;
    object-position: center center;
   
}
/* IMAGEM ATIVA */
.inicio-carrossel img.ativa {
    opacity: 1;
}
/* CONTEINER POR CIMA */
.inicio-conteudo {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.26);
    text-align: center;
}

.inicio-conteudo h1,
.inicio-conteudo p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.inicio-conteudo h1 {
    line-height: 1.1;
}

.inicio-conteudo p {
    line-height: 1.35;
}
/* SLIDES */
.inicio-slides img {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
}
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    background: rgba(56, 56, 56, 0.45);
    color: white;
    border: none;
    padding: 7px 8px;
    cursor: pointer;
    z-index: 5;
    border-radius: 8px;
}
.prev {
    left: 20px;
}
.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.7);
}
/* INDICADORES DE NAVEGAÇÃO */
.indicadores {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 5;
}
.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    display: inline-block;
    background: #9e9e97;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.dot.ativo, .dot:hover {
    background: #7ff0ce;
}

@media (max-width: 768px) {
    nav {
        padding: 10px 14px 12px;
        flex-direction: column;
        gap: 8px;
        align-items: center;
        justify-content: center;
    }

    nav ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 14px;
    }

    nav ul li {
        display: flex;
    }

    nav a {
        font-size: 14px;
        line-height: 1.1;
        white-space: nowrap;
    }

    .logo {
        font-size: 22px;
        line-height: 1;
    }

    section {
        padding: 70px 16px;
    }

    .inicio-banner {
        height: 58vh;
        min-height: 360px;
    }

    .grid-produtos {
        grid-template-columns: 1fr;
    }

    .produto-card img {
        height: 200px;
    }

    .quem-somos,
    .categorias {
        padding-left: 16px;
        padding-right: 16px;
    }
}

