/* Container Principal */
.jd-parts-wrapper {
    width: 100%;
    max-width: 1216px;
    margin: 0 auto;
    padding: 0; 
    font-family: 'JD Sans Pro', Helvetica, sans-serif;
}

/* Card Branco Único */
.jd-parts-card {
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* Cabeçalho Interno */
.jd-parts-header {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.jd-parts-line {
    width: 40px;
    height: 4px;
    background-color: var(--jd-yellow, #FFDE00);
    margin-bottom: 8px;
    border-radius: 2px;
}

.jd-parts-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--jd-green, #367C2B);
    margin-bottom: 8px;
    margin-top: 0;
    line-height: 1.2;
}

.jd-parts-subtitle {
    font-size: 16px;
    color: #666;
}

/* Grid de Contatos (Flexbox) */
.jd-parts-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 40px;
}

/* Item Individual */
.jd-parts-item {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
    box-sizing: border-box;
    position: relative;
}

/* Conteúdo do Item */
.jd-item-region {
    font-size: 16px;
    font-weight: 700;
    color: var(--jd-green, #367C2B);
    margin-bottom: 8px;
}

.jd-item-phone {
    font-size: 24px;
    font-weight: 700;
    color: var(--jd-gray, #54585A);
    margin-bottom: 16px;
    display: block;
    text-decoration: none;
}

/* --- ESTILOS DO BOTÃO ATUALIZADOS --- */

.jd-item-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--jd-green, #367C2B);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background 0.3s ease;
    gap: 8px; /* Distância de 8px entre caixa e texto */
}

.jd-item-btn:hover {
    background-color: #2a6322;
    color: #FFFFFF;
}

/* A Caixa de 24x24 */
.jd-btn-icon-box {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Estilo Genérico para o Ícone dentro da caixa (Seja Fonte ou SVG) */
.jd-btn-icon-box i,
.jd-btn-icon-box svg {
    font-size: 18px; /* Tamanho visual */
    width: 18px;     /* Necessário para SVGs */
    height: 18px;    /* Necessário para SVGs */
    color: #FFFFFF;
    fill: #FFFFFF;   /* Cor para SVGs */
    line-height: 1;
    display: block;  /* Remove espaços fantasmas */
}

.jd-btn-text {
    line-height: 1;
}


/* Lógica das Bordas Verticais (Desktop) */
.jd-parts-item {
    border-right: 1px solid #E5E5E5;
}

.jd-parts-item:nth-child(3n) {
    border-right: none;
}

.jd-parts-item:last-child {
    border-right: none;
}

/* RESPONSIVO (Mobile) */
@media (max-width: 768px) {
    .jd-parts-header {
        align-items: start;
    }
    
    .jd-parts-wrapper {
        padding: 0 16px;
    }

    .jd-parts-card {
        padding: 24px 16px;
    }

    .jd-parts-title {
        font-size: 24px;
    }

    .jd-parts-list {
        flex-direction: column;
        row-gap: 0;
    }

    .jd-parts-item {
        align-items: start;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #E5E5E5;
        padding: 24px 0;
    }

    .jd-parts-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .jd-parts-item:first-child {
        padding-top: 0;
    }
}