/* --- Variáveis --- */
:root {
    --jd-green: #367C2B;
    --jd-yellow: #FFDE00;
    --jd-gray: #54585A;
    --jd-white: #FFFFFF;
    --jd-border: #E5E5E5;
    --jd-font: 'JD Sans Pro', Helvetica, sans-serif;
}

/* Container Principal (Limitado a 958px) */
.jd-web-wrapper {
    width: 100%;
    max-width: 958px;
    margin: 0 auto;
    padding-top: 64px;
    font-family: var(--jd-font);
    box-sizing: border-box;
}

/* --- Cabeçalho --- */
.jd-web-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 32px auto;
}

.jd-web-badge {
    display: inline-block;
    position: relative;
    font-size: 14px;
    font-weight: 700;
    color: var(--jd-green);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.jd-web-badge::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background-color: var(--jd-yellow);
    margin-top: 4px;
    border-radius: 2px;
}

.jd-web-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--jd-green);
    margin-bottom: 8px;
    margin-top: 0;
    line-height: 1.2;
}

.jd-web-description {
    font-size: 18px;
    color: #666;
    line-height: 1.5;
}

/* --- Conteúdo Principal (Grid/Flex) --- */
.jd-web-content {
    display: flex;
    gap: 32px;
    align-items: flex-start; /* Alinha ao topo */
    margin-bottom: 48px;
}

/* Coluna Esquerda: Cards */
.jd-web-cards-col {
    flex: 1; /* Ocupa 50% */
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.jd-web-card {
    border: 1px solid var(--jd-border);
    border-radius: 12px;
    padding: 32px 24px;
    background-color: var(--jd-white);
    transition: box-shadow 0.3s ease;
}

.jd-web-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.jd-web-card-icon {
    margin-bottom: 16px;
}

.jd-web-card-icon i,
.jd-web-card-icon svg {
    font-size: 32px;
    color: var(--jd-green);
    width: 32px;
    height: 32px;
}

.jd-card-line {
    width: 24px;
    height: 4px;
    background-color: var(--jd-yellow);
    margin-top: 8px;
    border-radius: 2px;
}

.jd-web-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--jd-green);
    margin-bottom: 12px;
    margin-top: 0;
}

.jd-web-card-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* Coluna Direita: Vídeo */
.jd-web-video-col {
    flex: 1; /* Ocupa 50% */
}

.jd-video-header-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--jd-green);
    margin-bottom: 8px;
}

.jd-video-header-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

/* Wrapper Responsivo do Vídeo (16:9) */
.jd-web-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.jd-web-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Botão CTA --- */
.jd-web-cta-container {
    text-align: center;
}

.jd-web-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--jd-green);
    color: var(--jd-white);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    gap: 16px;
}

.jd-web-btn:hover {
    background-color: #2a6322;
    color: var(--jd-white);
}

.jd-web-btn i {
    margin-left: 8px;
    font-size: 14px;
}

.jd-web-btn i,
.jd-web-btn svg {
    font-size: 14px;
    fill: #ffffff;
    width: 1.1em;
    height: 1.1em;
    fill: currentColor;
}

/* --- RESPONSIVO (Mobile) --- */
@media (max-width: 958px) {
    .jd-web-title {
        font-size: 24px;
    }
    
    .jd-web-wrapper {
        padding: 40px 16px; /* Margem lateral de 16px */
    }

    .jd-web-content {
        flex-direction: column; /* Empilha colunas */
        gap: 40px;
    }

    .jd-web-header {
        margin-bottom: 40px;
    }

    .jd-web-btn {
        width: 100%; /* Botão full width no mobile */
        box-sizing: border-box;
    }
}