/* ================================
   HOME — BASE STRUCTURE
================================ */

.home-section {
    padding: 30px 0;
}

.home-section.alt-bg {
    background: #f8f9fa;
}

.home-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ================================
   SECTION HEADER
================================ */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

/* ================================
   GRIDS
================================ */

.home-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* ================================
   PROCESSO
================================ */

/* =====================================
   PROCESSO PREMIUM
===================================== */

.home-processo {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.processo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 60px;
}

.processo-card {
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    text-align: center;
    transition: 0.3s ease;
}

.processo-card:hover {
    transform: translateY(-8px);
}

.processo-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #e6f2eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.processo-icon-circle i {
    font-size: 28px;
    color: #0f4d2e;
}

.processo-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 15px;
}

.processo-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}


/* ================================
   CTA FINAL
================================ */

.home-cta {
    background: #0f4d2e;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
}

.home-cta h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.home-cta p {
    font-size: 16px;
    opacity: 0.85;
}

.btn-cta {
    display: inline-block;
    margin-top: 30px;
    background: #ffffff;
    color: #0f4d2e;
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s ease;
    text-decoration: none;
}

.btn-cta:hover {
    background: #e6e6e6;
}

/* ================================
   RESPONSIVO
================================ */

@media (max-width: 1200px) {
    .home-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .home-grid-4,
    .home-grid-3,
    .processo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-section {
        padding: 80px 0;
    }
}

@media (max-width: 600px) {
    .home-grid-4,
    .home-grid-3,
    .processo-grid {
        grid-template-columns: 2fr;
    }

    .home-container {
        padding: 0 20px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .home-cta {
        padding: 70px 20px;
    }
}

/* =====================================
   CARD PÁGINA INSTITUCIONAL - HOME
===================================== */

.home-institucional .card-pagina {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.home-institucional .card-pagina:hover {
    transform: translateY(-6px);
}

/* Link ocupa todo card */
.home-institucional .card-blog-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Imagem */
.home-institucional .card-blog-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.home-institucional .card-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.home-institucional .card-pagina:hover img {
    transform: scale(1.05);
}

/* Conteúdo */
.home-institucional .card-blog-content {
    padding: 30px;
}

.home-institucional .card-blog-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1c1c1c;
}

.home-institucional .card-blog-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.home-institucional .card-blog-readmore {
    font-size: 14px;
    font-weight: 600;
    color: #0f4d2e;
}
/* =====================================
   CARD PÁGINA - IMAGEM QUADRADA
===================================== */

.home-institucional .card-blog-media {
    width: 100%;
    aspect-ratio: 1 / 1; /* quadrado perfeito */
    overflow: hidden;
    position: relative;
}

.home-institucional .card-blog-media img,
.home-institucional .card-blog-media picture {
    width: 100%;
    height: 100%;
    display: block;
}

.home-institucional .card-blog-media img {
    object-fit: cover; /* evita distorção */
    transition: 0.4s ease;
}

.home-institucional .card-pagina:hover .card-blog-media img {
    transform: scale(1.05);
}
/* =====================================
   ATACADO PREMIUM
===================================== */

.home-atacado {
    background: linear-gradient(180deg, #f4f7f4 0%, #ffffff 100%);
    padding: 30px 0;
}

.atacado-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.atacado-card {
    background: #ffffff;
    padding: 50px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0,0,0,0.05);
    transition: all .3s ease;
    position: relative;
}

.atacado-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 55px rgba(0,0,0,0.08);
}

/* Card principal destacado */
.atacado-card.destaque {
    background: #0f4d2e;
    color: #fff;
}

.atacado-card.destaque .atacado-tag {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.atacado-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #e6f2eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atacado-card.destaque .atacado-icon {
    background: rgba(255,255,255,0.15);
}

.atacado-icon i {
    font-size: 28px;
    color: #0f4d2e;
}

.atacado-card.destaque .atacado-icon i {
    color: #fff;
}

.atacado-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.atacado-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: .9;
}

.atacado-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 999px;
    background: #e6f2eb;
    color: #0f4d2e;
    font-weight: 600;
}

/* CTA */
.atacado-cta {
    text-align: center;
    margin-top: 60px;
}

.btn-cta-atacado {
    background: #0f4d2e;
    color: #fff;
    padding: 16px 40px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s ease;
}

.btn-cta-atacado:hover {
    background: #083a21;
}

/* Responsivo */
@media (max-width: 992px) {
    .atacado-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .atacado-grid {
        grid-template-columns: 1fr;
    }
}
.section-subtitle {
    max-width: 720px;
    margin: 10px auto 0;
    font-size: 16px;
    line-height: 1.6;
    color: #5f6f65;
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 14px;
        padding: 0 12px;
    }
}
/* ================================
   HOME – 2 COLUNAS MOBILE PRODUTOS
================================ */

@media (max-width: 768px) {

  .home-produtos .produtos-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 18px;
  }

  .home-produtos .produto-info {
      padding: 16px;
  }

  .home-produtos .produto-info h3 {
      font-size: 14px;
      line-height: 1.3;
  }

  .home-produtos .produto-preco .valor {
      font-size: 18px;
  }

  .home-produtos .btn-ver {
      font-size: 14px;
      padding: 10px;
  }

}


