/* ============================================================
   UNIÃO MADEIRAS — STYLE_HOME.CSS (LIMPO E OTIMIZADO)
   ============================================================ */

/* ============================================================
   1) HERO
   ============================================================ */

.um-hero {
    position: relative;
    color: #fff;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.um-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.75);
    transform: scale(1.02);
}

.um-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        #04501d 0%,
        rgba(4, 80, 29, 0.9) 35%,
        rgba(4, 80, 29, 0.3) 70%,
        rgba(4, 80, 29, 0.1) 100%);
}

.um-hero .wrapper {
    position: relative;
    z-index: 1;
    padding: 40px 20px 80px;
}

.um-hero-inner {
    max-width: 640px;
}

.um-hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(0,0,0,0.35);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.um-hero-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
}

.um-hero-sub {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.um-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.um-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: .18s ease;
}

.um-hero-btn-primary {
    background: #0f6c2f;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.um-hero-btn-primary:hover {
    background: #14893d;
    transform: translateY(-1px);
}

.um-hero-btn-secondary {
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.6);
}

.um-hero-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
}

.um-hero-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
}

.um-hero-badges span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.28);
}

@media (max-width: 980px) {
    .um-hero {
        min-height: 60vh;
        align-items: flex-end;
    }
    .um-hero-title { font-size: 26px; }
    .um-hero-sub { font-size: 14px; }
    .um-hero-actions { flex-direction: column; }
    .um-hero-btn { width: 100%; }
}


/* ============================================================
   2) SEÇÃO — SOLUÇÕES (3 CARDS)
   ============================================================ */

.blocosoo {
    background: #f5f7f5;
    padding: 48px 0 40px;
}

.blocosoo-header {
    text-align: center;
    margin-bottom: 26px;
}

.blocosoo-kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 600;
    color: #0f6c2f;
    display: inline-block;
    margin-bottom: 6px;
}

.blocosoo-title {
    font-size: 26px;
    font-weight: 700;
    color: #083518;
    margin-bottom: 8px;
}

.blocosoo-subtitle {
    max-width: 720px;
    margin: 0 auto;
    color: #555;
    font-size: 14px;
}

.blocosoo .col-md-4 { margin-bottom: 20px; }

.bloco-inst {
    background: #fff;
    border-radius: 18px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: .2s;
}

.bloco-inst:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.10);
}

.bloco-inst .img img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 14px;
}

.bloco-inst h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f6c2f;
}

.bloco-inst p {
    margin: 0;
    font-size: 15px;
    color: #505050;
}

@media (max-width: 768px) {
    .bloco-inst { padding: 14px 18px; }
    .bloco-inst .img img { width: 72px; height: 72px; }
    .bloco-inst h3 { font-size: 16px; }
}


/* ============================================================
   3) CTA — TABELA DE ORÇAMENTO (COM IMAGEM)
   ============================================================ */

.um-orcamento-cta-img {
    position: relative;
    background-image: url('<?=DIR?>/web/img/home/banner_eucalipto_cloeziana-1920.webp');
    background-size: cover;
    background-position: center;
    padding: 60px 0 65px;
    text-align: center;
}

.um-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(4,80,29,0.70),
        rgba(4,80,29,0.55)
    );
    z-index: 1;
}

.um-cta-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.um-cta-content h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}

.um-cta-content p {
    font-size: 16px;
    opacity: .92;
    margin-bottom: 20px;
}

.um-cta-btn {
    display: inline-block;
    padding: 13px 34px;
    border-radius: 999px;
    background: #fff;
    color: #0f6c2f !important;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    transition: .25s;
}

.um-cta-btn:hover {
    background: #eaffea;
    transform: translateY(-3px);
}


/* ============================================================
   4) PRODUTOS — CARDS
   ============================================================ */

.quote-olw.bg-wrapper.custom-9 {
    padding: 50px 0;
    background: #f8faf8;
}

.produtos-kicker {
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: none;
    color: #0f6c2f;
    font-weight: 600;
    margin-bottom: 6px;
}

.produtos-title {
    font-size: 26px;
    color: #083518;
    font-weight: 700;
}

.custom-9 .row-1 > div {
    margin-bottom: 24px;
}

.custom-9 .row-1 > div > * {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: .2s;
}

.custom-9 .row-1 > div > *:hover {
    transform: translateY(-4px);
}

.custom-9 img {
    width: 100%;
    height:100%;
    border-radius: 8px;
}

/* PRODUTOS — IMAGEM SEM ACHATAMENTO (SEGURO) */
.custom-9 .product-image img {
    width: 100%;
    height:100%;
    object-fit: initial;
    aspect-ratio: auto;
}

/* ============================================================
   CTA — TODOS OS PRODUTOS
   ============================================================ */

.um-produtos-cta {
    text-align: center;
    margin-top: 35px;
}

.um-btn-produtos {
    display: inline-block;
    padding: 14px 36px;
    background: #f28c28; /* laranja acessível */
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: .25s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.um-btn-produtos:hover {
    background: #e57f1f;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}
.um-produtos-cta {
    margin-top: 40px;
    margin-bottom: 10px;
    text-align: center;
}
.um-produtos-cta {
    padding-bottom: 20px;
}



/* ============================================================
   5) CARDS PREMIUM — INSPIRAÇÕES & BLOG
   ============================================================ */

.um-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: .2s;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: umFadeUp .65s ease-out forwards;
}

.um-card:hover {
    transform: translateY(-4px);
}

.um-card-img img {
    width: 100%;
}

.um-card-content {
    padding: 16px 18px 20px;
    flex-grow: 1;
}

.um-card-content h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f6c2f;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.um-card-content p {
    font-size: 14px;
    line-height: 1.45;
    color: #555;
    margin-bottom: 14px;
}

.um-card-btn {
    padding: 10px 20px;
    background: #0f6c2f;
    color: #fff !important;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: .25s;
}

.um-card-btn:hover {
    background: #14893d;
}


/* ============================================================
   6) TÍTULOS PADRONIZADOS
   ============================================================ */

.um-kicker {
    font-size: 14px;
    font-weight: 600;
    color: #0f6c2f;
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-bottom: 6px;
}

.um-section-title {
    font-size: 26px;
    color: #083518;
    font-weight: 700;
    margin-bottom: 25px;
}

/* Corrige exibição do título dos produtos */
.product-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f6c2f !important;
   /*margin: 14px 16px 6px;*/
    line-height: 1.3;
    display: block;
}

/* Alguns templates usam <div class="product-title"> com <span> dentro */
.product-title span {
    color: inherit !important;
    font-weight: inherit;
}



/* ============================================================
   7) ANIMAÇÕES
   ============================================================ */

@keyframes umFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}



