/* =====================================================
   CONFIGURAÇÕES GERAIS
===================================================== */
:root {
    color-scheme: light;
}

html {
    background-color: #ffffff;
    color-scheme: light;
}

body {
    background-color: #ffffff !important;
    color: #222222 !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =====================================================
   CABEÇALHO
===================================================== */

.header {
    background: #ffffff;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #17652a;
    letter-spacing: 1px;
    white-space: nowrap;
}


/* =====================================================
   MENU
===================================================== */

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: #333333;
    font-weight: bold;
    transition: 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #17652a;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #17652a;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}


/* =====================================================
   BOTÃO WHATSAPP
===================================================== */

.btn-whatsapp {
    display: inline-block;
    background: #25d366;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    background: #1ebe5d;
}


/* =====================================================
   BANNER
===================================================== */

.hero {
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.20),
            rgba(0, 0, 0, 0.10)
        ),
        url("../images/banner.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    color: #ffffff;
    padding-left: 20px;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.7);

    animation: aparecer 1s ease;
}

.hero-content span {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.1;
    max-width: 550px;
    margin: 15px 0;
}

.hero p {
    font-size: 18px;
    line-height: 1.5;
    max-width: 480px;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    background: #17652a;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.20);
}

.btn:hover {
    background: #0f481d;
    transform: translateY(-3px);
}


/* =====================================================
   SEÇÕES
===================================================== */

section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: #17652a;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 40px;
    line-height: 1.2;
    margin: 10px 0;
}

.section-title p {
    color: #666666;
    font-size: 17px;
}


/* =====================================================
   PRODUTOS
===================================================== */

.products {
    background: #f6f7f5;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
}


/* =====================================================
   CARTÃO DO PRODUTO
===================================================== */

.product-card {
    width: 100%;
    min-width: 0;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);

    transition: 0.35s ease;
    border: 1px solid #eeeeee;
}

.product-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.13);
}


/* =====================================================
   IMAGEM DO PRODUTO
===================================================== */

.product-image {
    width: 100%;
    height: 280px;
    background: #eeeeee;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}


/* =====================================================
   INFORMAÇÕES DO PRODUTO
===================================================== */

.product-info {
    padding: 20px;
}

.product-info small {
    display: block;
    color: #17652a;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}
.product-category {
    display: block;
    color: #17652a;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.product-info h3 {
    font-size: 21px;
    line-height: 1.2;
    margin: 8px 0;
}

.product-info p {
    color: #666666;
    margin-bottom: 15px;
    font-size: 14px;
}


/* =====================================================
   BOTÕES DOS PRODUTOS
===================================================== */

.product-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.btn-buy {
    display: inline-block;
    background: #17652a;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-buy:hover {
    background: #0f481d;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-details {
    display: inline-block;
    color: #17652a;
    background: #ffffff;
    border: 1px solid #17652a;
    padding: 9px 12px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: bold;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn-details:hover {
    background: #17652a;
    color: #ffffff;
}


/* =====================================================
   SOBRE
===================================================== */

.about {
    background: #ffffff;
    text-align: center;
}

.about-text {
    max-width: 750px;
    margin: 0 auto;
}

.about-text span {
    color: #17652a;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.about-text h2 {
    font-size: 42px;
    line-height: 1.2;
    margin: 15px 0;
}

.about-text p {
    color: #666666;
    font-size: 18px;
    line-height: 1.7;
}


/* =====================================================
   CONTATO
===================================================== */

.contact {
    background: #17652a;
    color: #ffffff;
    text-align: center;
}

.contact h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.contact p {
    margin-bottom: 25px;
    font-size: 18px;
}


/* =====================================================
   RODAPÉ
===================================================== */

footer {
    background: #111111;
    color: #aaaaaa;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
}


/* =====================================================
   ANIMAÇÃO
===================================================== */

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =====================================================
   JANELA DE DETALHES / MODAL
===================================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.72);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}


/* =====================================================
   CAIXA DA JANELA
===================================================== */

.modal-conteudo {
    position: relative;

    width: 100%;
    max-width: 850px;
    max-height: 90vh;

    background: #ffffff;

    border-radius: 18px;
    overflow: hidden;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.30);

    animation: abrirModal 0.3s ease;

    display: flex;
    flex-direction: column;
}
.modal-imagem {
    width: 100%;
    height: 280px;
    background: #f5f5f5;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    flex-shrink: 0;
}

.modal-imagem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* =====================================================
   ÁREA DO TEXTO
===================================================== */

.modal-texto {
    padding: 35px;
    width: 100%;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

/* =====================================================
   CATEGORIA
===================================================== */

.modal-texto small {
    display: block;
    color: #17652a;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 8px;
}


/* =====================================================
   TÍTULO
===================================================== */

.modal-texto h2 {
    color: #222222;
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 22px;
    padding-right: 45px;
}


/* =====================================================
   DESCRIÇÃO
===================================================== */

#modalDescricao {
    color: #555555;
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 28px;
}


/* =====================================================
   TEXTOS EM NEGRITO
===================================================== */

#modalDescricao strong {
    color: #17652a;
    font-weight: 700;
}


/* =====================================================
   BOTÃO WHATSAPP DO MODAL
===================================================== */

#modalWhatsApp {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #25d366;
    color: #ffffff;

    padding: 14px 24px;
    border-radius: 8px;

    font-weight: bold;
    text-decoration: none;

    transition: 0.3s ease;

    box-shadow:
        0 5px 15px rgba(37, 211, 102, 0.20);
}

#modalWhatsApp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(37, 211, 102, 0.30);
}


/* =====================================================
   BOTÃO FECHAR
===================================================== */

.modal-fechar {
    position: absolute;

    top: 15px;
    right: 18px;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: #17652a;
    color: #ffffff;

    font-size: 25px;
    line-height: 42px;

    text-align: center;

    cursor: pointer;
    z-index: 10;

    transition: 0.3s ease;
}

.modal-fechar:hover {
    background: #0f481d;
    transform: rotate(90deg);
}


/* =====================================================
   BARRA DE ROLAGEM
===================================================== */

.modal-texto::-webkit-scrollbar {
    width: 7px;
}

.modal-texto::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-texto::-webkit-scrollbar-thumb {
    background: #17652a;
    border-radius: 10px;
}

.modal-texto {
    scrollbar-color: #17652a #f1f1f1;
    scrollbar-width: thin;
}


/* =====================================================
   ANIMAÇÃO DA JANELA
===================================================== */

@keyframes abrirModal {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =====================================================
   TABLET
   2 PRODUTOS POR LINHA
===================================================== */

@media (max-width: 1000px) {

    .header .container {
        flex-wrap: wrap;
    }

    nav {
        gap: 20px;
    }

    .hero {
        min-height: 550px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =====================================================
   CELULAR
   1 PRODUTO POR LINHA
===================================================== */

@media (max-width: 700px) {

    .header {
        padding: 15px 0;
    }

    .header .container {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        font-size: 25px;
    }

    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    nav a {
        font-size: 14px;
    }

    .hero {
        min-height: 520px;
        background-position: center;
    }

    .hero-content {
        text-align: center;
        padding-left: 0;
    }

    .hero-content span {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: 36px;
        margin: 15px auto;
    }

    .hero p {
        font-size: 17px;
        margin-left: auto;
        margin-right: auto;
    }

    section {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 320px;
    }

    .product-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-buy,
    .btn-details {
        width: 100%;
        text-align: center;
    }

    .about-text h2 {
        font-size: 34px;
    }

    .contact h2 {
        font-size: 34px;
    }


    /* =================================================
       MODAL NO CELULAR
    ================================================= */

    .modal {
        padding: 10px;
        align-items: center;
    }

    .modal-conteudo {
        width: 100%;
        max-width: 100%;
        max-height: 94vh;
        border-radius: 14px;
    }

    .modal-texto {
        padding: 28px 22px;
        max-height: 94vh;
        overflow-y: auto;
    }

    .modal-texto h2 {
        font-size: 25px;
        padding-right: 40px;
        margin-bottom: 18px;
    }

    #modalDescricao {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 24px;
    }

    #modalWhatsApp {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .modal-fechar {
        width: 38px;
        height: 38px;
        font-size: 22px;
        line-height: 38px;
        top: 12px;
        right: 12px;
    }
}


/* =====================================================
   CELULARES PEQUENOS
===================================================== */

@media (max-width: 500px) {

    .container {
        width: 92%;
    }

    .btn-whatsapp {
        padding: 10px 16px;
        font-size: 14px;
    }

    .hero {
        min-height: 480px;
        background-position: center;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn {
        padding: 13px 20px;
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .section-title p {
        font-size: 15px;
    }

    .product-image {
        height: 300px;
    }

    .product-info {
        padding: 22px;
    }

    .modal-texto {
        padding: 25px 18px;
    }

    .modal-texto h2 {
        font-size: 23px;
    }

    #modalDescricao {
        font-size: 14px;
    }
}/* =====================================================
   MENU DE CATEGORIAS
===================================================== */

.menu-categorias {
    position: relative;
    display: inline-block;
}

.btn-categorias {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.submenu-categorias {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;

    min-width: 200px;

    background: #ffffff;

    padding: 10px 0;

    border-radius: 10px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

    z-index: 1000;
}

.menu-categorias.ativo .submenu-categorias {
    display: block;
}

.submenu-categorias a {
    display: block;

    padding: 12px 20px;

    text-decoration: none;
}

.submenu-categorias a:hover {
    background: #f5f5f5;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bandeira-brasil {
    width: 45px;
    height: auto;
    margin-left: 8px;
}