/* ============================================================
   Página: Tabela de Medidas do Eucalipto Tratado
   Armazém do Eucalipto
   ============================================================ */

/* ==========================================================
   MINI-HERO (cabeçalho interno)
   ========================================================== */
.medidas-hero {
    position: relative;
    padding: 160px 1.5rem 56px;
    text-align: center;
    overflow: hidden;
    background-color: #201101;
}

.medidas-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    filter: brightness(0.35);
    transition: transform 10s ease;
}

.medidas-hero:hover .medidas-hero__bg {
    transform: scale(1.03);
}

.medidas-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(32,17,1,0.65)  0%,
        rgba(32,17,1,0.1)  45%,
        rgba(32,17,1,0.55) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.medidas-hero__inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.medidas-hero .page-hero__breadcrumb {
    justify-content: center;
    margin-bottom: 1.75rem;
}

.medidas-hero__label {
    display: inline-block;
    color: #CD9C3D;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 0.75rem;
}

.medidas-hero__title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

/* ==========================================================
   INTRODUÇÃO
   ========================================================== */
.medidas-intro {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.medidas-intro__title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: #201101;
    margin-bottom: 1.5rem;
    letter-spacing: -0.2px;
}

.medidas-intro p {
    font-size: 1rem;
    color: #4a3728;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.medidas-intro p:last-child { margin-bottom: 0; }
.medidas-intro strong { color: #201101; font-weight: 700; }

/* ==========================================================
   BLOCO DE PEÇAS ROLIÇAS (diagrama + texto lado a lado)
   ========================================================== */
.rolicas-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.rolicas-block__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #201101;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #CD9C3D;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.rolicas-block__text p {
    font-size: 1rem;
    color: #4a3728;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.rolicas-block__text p:last-child { margin-bottom: 0; }

.rolicas-block__diagrams {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.diagram-card {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #f7f3ec;
    border: 1px solid rgba(32,17,1,0.08);
}

.diagram-card picture,
.diagram-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.45s ease;
}

.diagram-card:hover img { transform: scale(1.04); }

.diagram-card__label {
    text-align: center;
    padding: 0.6rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #4a3728;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(205,156,61,0.08);
}

/* ==========================================================
   SEÇÃO DE TABELA (fundo claro — contrasta com CTA escuro)
   ========================================================== */
.tabela-section {
    background: #F7F3EC;
    padding: 5rem 0;
    position: relative;
}

.tabela-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tabela-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #201101;
    margin-bottom: 0;
    letter-spacing: -0.2px;
    line-height: 1.35;
}

/* Duas colunas (Espessuras + Comprimentos) lado a lado */
.tabela-listas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 740px;
    margin: 0 auto 2.5rem;
}

.tabela-lista {
    background: #fff;
    border: 1px solid rgba(32,17,1,0.08);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(32,17,1,0.06);
    overflow: hidden;
}

.tabela-lista__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #201101;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    padding: 1.15rem 1.5rem;
    background: linear-gradient(135deg, #201101 0%, #3a2108 100%);
    color: #E9E4D0;
    border-bottom: 3px solid #CD9C3D;
}

.tabela-lista__items {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tabela-lista__items li {
    font-size: 0.95rem;
    color: #3a2108;
    padding: 0.65rem 1.5rem;
    position: relative;
    line-height: 1.5;
    font-weight: 500;
    transition: background 0.2s ease;
}

.tabela-lista__items li:nth-child(odd) {
    background: rgba(205,156,61,0.05);
}

.tabela-lista__items li:hover {
    background: rgba(205,156,61,0.12);
}

.tabela-lista__items li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #CD9C3D;
    border-radius: 50%;
    margin-right: 0.75rem;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* ==========================================================
   NOTA / OBSERVAÇÃO
   ========================================================== */
.tabela-note {
    text-align: center;
    padding: 1.25rem 2rem;
    background: #201101;
    border-radius: 10px;
    max-width: 740px;
    margin: 0 auto;
}

.tabela-note p {
    font-size: 0.88rem;
    font-weight: 700;
    color: #CD9C3D;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 768px) {
    .medidas-hero {
        padding: 100px 1.5rem 40px;
    }

    .rolicas-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rolicas-block__diagrams {
        grid-template-columns: 1fr 1fr;
    }

    .tabela-listas {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tabela-listas {
        grid-template-columns: 1fr;
    }

    .rolicas-block__diagrams {
        grid-template-columns: 1fr;
    }
}
