
:root {
    --azul: #1DAAFC;
    --preto: #000000;
    --cinza: #f7f7f7;
    --max-width: 1100px;
    --radius: 12px;
    --shadow: 0 6px 18px rgba(0,0,0,0.08);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--cinza);
    color: #111
}

/* NAVBAR */
.topbar {
    background: linear-gradient(90deg,var(--azul), #0f9be0);
    color: #fff
}

.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--preto)
}

.brand h1 {
    font-size: 16px;
    margin: 0;
    line-height: 1
}

.brand p {
    margin: 0;
    font-size: 12px;
    opacity: 0.95
}

/* Search top of navbar */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px
}

.search-wrap {
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 260px;
    box-shadow: var(--shadow)
}

    .search-wrap input {
        border: 0;
        outline: none;
        font-size: 14px;
        padding: 6px 4px;
        background: transparent
    }

    .search-wrap button {
        background: var(--azul);
        border: 0;
        color: #fff;
        padding: 8px 12px;
        border-radius: 999px;
        cursor: pointer
    }

.cta {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 8px 12px;
    border-radius: 8px;
    color: #fff;
    cursor: pointer
}

/* HERO / SLIDER */
.hero {
    max-width: var(--max-width);
    margin: 18px auto;
    padding: 0 20px
}

.slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(180deg,#e8f8ff,white);
    box-shadow: var(--shadow)
}

.slides {
    display: flex;
    transition: transform 400ms ease
}

.slide {
    min-width: 100%;
    padding: 36px;
    display: flex;
    gap: 24px;
    align-items: center
}

    .slide .text {
        flex: 1
    }

    .slide h2 {
        margin: 0 0 10px;
        font-size: 26px;
        color: var(--preto)
    }

    .slide p {
        margin: 0 0 16px;
        color: #333
    }

    .slide .btns {
        display: flex;
        gap: 10px
    }

    .slide .btn {
        background: var(--azul);
        color: #fff;
        padding: 10px 16px;
        border-radius: 8px;
        border: 0;
        cursor: pointer
    }

    .slide .img {
        flex: 0 0 380px;
        height: 220px;
        border-radius: 10px;
        background: #ddd;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        font-weight: 600
    }

.slider .controls {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between
}

.controls button {
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: 0;
    padding: 8px;
    border-radius: 999px;
    cursor: pointer
}

.dots {
    padding: 12px 0;
    display: flex;
    gap: 8px;
    justify-content: center
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer
}

    .dot.active {
        background: var(--azul)
    }

/* PRODUCTS GRID */
.container {
    max-width: var(--max-width);
    margin: 18px auto;
    padding: 0 20px
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
    gap: 16px
}

.card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column
}

    .card .thumb {
        height: 160px;
        border-radius: 8px;
        background: linear-gradient(180deg,#f0f7fb,#e6f3fb);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #333;
        font-weight: 700
    }

    .card h3 {
        margin: 10px 0 6px;
        font-size: 16px
    }

    .card p {
        margin: 0 0 8px;
        font-size: 14px;
        color: #555
    }

.price {
    margin-top: auto;
    font-weight: 700;
    color: var(--azul)
}

/* CONTACT / FOOTER */
footer {
    background: #fff;
    margin-top: 22px;
    padding: 18px 20px;
    border-top: 1px solid #eee
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between
}

.contact {
    font-size: 14px
}

.note {
    font-size: 13px;
    color: #444
}
/* Extra responsividade para telas pequenas */
@media (max-width: 480px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav-right {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .search-wrap {
        width: 100%;
        min-width: unset;
    }

        .search-wrap input {
            flex: 1;
        }

    .slide {
        padding: 20px 14px;
    }

        .slide h2 {
            font-size: 20px;
        }

        .slide p {
            font-size: 14px;
        }

    .card {
        padding: 10px;
    }

        .card .thumb {
            height: 140px;
        }

    footer .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Responsive */
@media (max-width:720px) {
    .slide {
        flex-direction: column
    }

        .slide .img {
            width: 100%;
            height: 180px
        }

    .search-wrap {
        min-width: 160px
    }

    .nav {
        padding: 10px
    }

    .brand h1 {
        font-size: 14px
    }
}

/* FILTROS */
.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

    .filters select {
        padding: 8px;
        border-radius: 6px;
        border: 1px solid #ccc;
        background: white;
        cursor: pointer;
    }

@media(max-width:480px) {
    .filters {
        flex-direction: column;
    }

        .filters select {
            width: 100%;
        }
}
