/* Container Principal */
.jd-contact-wrapper {
    width: 100%;
    max-width: 1216px;
    margin: 0 auto;
    padding-top: 64px;
    padding-bottom: 0px;
    font-family: 'JD Sans Pro', Helvetica, sans-serif;
}

/* Cabeçalho */
.jd-contact-header {
    text-align: center;
    margin-bottom: 32px;
}

.jd-card-style-action a {
    flex-direction: row-reverse;
    gap: 16px;
}

.jd-contact-badge {
    display: inline-block;
    position: relative;
    font-size: 14px;
    font-weight: 700;
    color: var(--jd-green);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.jd-contact-badge::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background-color: var(--jd-yellow);
    margin-top: 4px;
    border-radius: 2px;
}

.jd-contact-title {
    font-size: 32px;
    color: var(--jd-green);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    margin-top: 0;
}

.jd-contact-subtitle {
    font-size: 18px;
    color: var(--jd-gray);
    line-height: 1.5;
}

/* Grid System */
.jd-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch; /* Garante que tenham a mesma altura */
}

/* Base do Card */
.jd-contact-card {
    border-radius: 12px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    border: 1px solid transparent;
}

.jd-contact-card:hover {
    transform: translateY(-5px);
}

/* Elementos Internos do Card */
.jd-card-line {
    width: 24px;
    height: 4px;
    background-color: var(--jd-yellow);
    margin-bottom: 8px;
    border-radius: 2px;
}

.jd-contact-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 0;
}

.jd-contact-card-desc {
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.4;
}

.jd-contact-phone {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    display: block;
}

/* Botão Genérico */
.jd-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.jd-contact-btn:hover {
    opacity: 0.9;
}

/* --- VARIAÇÃO 1: DESTAQUE (Verde) --- */
.jd-card-style-highlight {
    background-color: var(--jd-green);
    color: var(--jd-white);
    border: none;
}

.jd-card-style-highlight .jd-contact-card-title,
.jd-card-style-highlight .jd-contact-card-desc {
    color: var(--jd-white);
}

.jd-card-style-highlight .jd-contact-phone {
    color: var(--jd-yellow);
}

.jd-card-style-highlight .jd-contact-btn {
    background-color: var(--jd-white);
    color: var(--jd-green);
}

/* --- VARIAÇÃO 2: PADRÃO (Branco + Botão Verde) --- */
.jd-card-style-standard {
    background-color: var(--jd-white);
    border: 1px solid #E5E5E5;
}

.jd-card-style-standard .jd-contact-card-title {
    color: var(--jd-green);
}

.jd-card-style-standard .jd-contact-card-desc {
    color: var(--jd-gray);
}

.jd-card-style-standard .jd-contact-phone {
    color: var(--jd-green);
}

.jd-card-style-standard .jd-contact-btn {
    background-color: var(--jd-green);
    color: var(--jd-white);
}

/* --- VARIAÇÃO 3: AÇÃO (Branco + Botão Amarelo) --- */
.jd-card-style-action {
    background-color: var(--jd-white);
    border: 1px solid #E5E5E5;
}

.jd-card-style-action .jd-contact-card-title {
    color: var(--jd-green);
}

.jd-card-style-action .jd-contact-card-desc {
    color: var(--jd-gray);
}

/* Card 3 geralmente não tem telefone, mas se tiver, segue o padrão */
.jd-card-style-action .jd-contact-phone {
    color: var(--jd-green);
}

.jd-card-style-action .jd-contact-btn {
    background-color: var(--jd-yellow);
    color: var(--jd-green); /* Texto verde no fundo amarelo */
}

/* Mobile */
@media (max-width: 768px) {

    .jd-contact-title {
        font-size: 24px;
    }

    .jd-contact-subtitle {
        font-size: 16px;
    }

    .jd-contact-wrapper {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .jd-contact-grid {
        grid-template-columns: 1fr;
    }
}