/* --- BANNER PRINCIPAL (HERO) - FULL WIDTH --- */
.hero {
    padding: 0;
    min-height: auto;
    position: relative;
    overflow: hidden;
    background-color: var(--cinza-fundo);
}

.hero-banner-img {
    width: 100%;
    line-height: 0;
}

.hero-banner-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- INFO BAR --- */
.info-bar {
    background-color: var(--branco);
    border-bottom: 1px solid var(--cinza-borda);
    padding: 35px 0;
}

.info-bar-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item .info-icon {
    font-size: 26px;
    color: #0B7347;
    background-color: #e6f0eb;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item .info-text {
    display: flex;
    flex-direction: column;
}

.info-item .info-text strong {
    font-size: 1.05em;
    color: #0B7347;
    text-transform: uppercase;
}

.info-item .info-text p {
    font-size: 0.95em;
    color: var(--cinza-texto);
    margin: 0;
}

/* --- SOBRE --- */
.about {
    background-color: var(--branco);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    border-radius: 10px;
    max-width: 350px;
    margin: 0 auto;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1.2;
}

.about-text h2 {
    text-align: left;
    margin-top: 0;
}

.about-text p {
    margin-bottom: 5px;
    line-height: 1.7; 
    max-width: 90%;
    text-align: justify;
}


/* --- PRODUTOS --- */
.products {
    background-color: var(--cinza-fundo);
}

.product-intro {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card {
    background: var(--branco);
    border: 1px solid var(--cinza-borda);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-link:hover .product-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #0B7347;
}

/* --- AQUI ESTÁ O AJUSTE DE TAMANHO --- */
.product-card-img-container {
    width: 100%;
    height: 300px; /* Mantivemos GRANDE (300px) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px; /* Mantivemos BORDAS PEQUENAS */
    background-color: #fff;
    border-bottom: 1px solid var(--cinza-fundo);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-card h3 {
    font-size: 1.4em;
    margin: 0 0 10px 0;
    color: var(--azul-logo);
}

.product-card-desc {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-card .button {
    background-color: transparent;
    color: #0B7347;
    border: 2px solid #0B7347;
    padding: 8px 20px;
    font-size: 1em;
    align-self: center;
    transition: all 0.2s;
}

.product-card-link:hover .product-card .button {
    background-color: #0B7347;
    color: var(--branco);
}

.products-footer {
    text-align: center;
    margin-top: 50px;
}

/* --- BUSCA --- */
.search-wrapper {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.search-container input#search-bar {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
    border: 2px solid var(--cinza-borda);
    border-radius: 30px;
    transition: all 0.3s;
}

.search-container input#search-bar:focus {
    border-color: #0B7347;
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 106, 74, 0.1);
}

.search-dropdown {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: var(--branco);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 100;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid var(--cinza-fundo);
    text-decoration: none;
    transition: background 0.2s;
}

.search-result-item:hover {
    background-color: #f9f9f9;
}

.search-result-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 15px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.search-result-info h4 {
    margin: 0;
    color: var(--azul-logo);
    font-size: 0.95em;
}

.search-result-info p {
    margin: 0;
    color: #999;
    font-size: 0.8em;
}

.search-result-empty {
    padding: 15px;
    color: #666;
    text-align: center;
}

/* --- AJUSTES DE GRID PARA DESKTOP --- */
@media (min-width: 900px) {

    #product-grid {
        /* AQUI A MUDANÇA: VOLTAMOS PARA 4 COLUNAS */
        grid-template-columns: repeat(4, 1fr);
    }

    #catalogo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom a {
        color: #fff;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.2s ease;
    }

    .footer-bottom a:hover {
        color: #FFC72C;
    }
}

/* --- RESPONSIVO DO "QUEM SOMOS" --- */
@media (max-width: 900px) {
    .about-text p {
        max-width: 100%;
        text-align: center;
    }
    .about-text h2 {
        text-align: center;
    }
}