/* --- Wrapper and Container styles --- */
.deliverables-wrapper {
    background: #fff;
    border-radius: 16px;
    overflow: hidden; 
    /* Drop shadow aprimorado com um leve glow avermelhado */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08), 0 0 20px rgba(168, 27, 38, 0.05); 
    margin-top: 20px;
    border: 1px solid #eaeaea;
}

/* --- Table Basis --- */
.deliverables-table {
    margin: 0;
    border: none;
}

.deliverables-table thead {
    background: #A81B26;
}

.deliverables-table thead th {
    color: #fff;
    border: none !important;
    font-weight: 600;
    padding: 22px 18px; 
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-align: center;
}

.deliverables-table tbody td {
    padding: 18px;
    color: #555;
    font-size: 14px;
    border-top: 1px solid #eee;
    vertical-align: middle !important;
    background: transparent; /* Permite visualizar o fundo zebra da linha */
    text-align: center;
}

/* --- Readability & Responsive Alignments --- */
/* RESOLUÇÃO DO BUG DO TITLE: Define largura flexível controlada que impede colisões de texto */
.deliverables-table thead th:nth-child(2),
.deliverables-table tbody td:nth-child(2) {
    text-align: left;
    width: 45%;               
    min-width: 280px;         
    white-space: normal;      /* Força a quebra de linha correta do texto do título */
    word-break: keep-all;     
    overflow-wrap: break-word;
}

/* Larguras mínimas seguras para colunas pequenas */
.deliverables-table thead th:nth-child(3),
.deliverables-table tbody td:nth-child(3),
.deliverables-table thead th:nth-child(4),
.deliverables-table tbody td:nth-child(4) {
    min-width: 80px;
}

/* Alocação de tamanho perfeito para o botão longo não quebrar horizontalmente */
.deliverables-table thead th:nth-child(5),
.deliverables-table tbody td:nth-child(5) {
    min-width: 215px;         
    text-align: center;
}

/* --- Zebra Striping & Hover Effects --- */
.deliverables-table tbody tr {
    transition: background-color .3s ease;
    background-color: #fff;
}

/* Linhas pares com o tom cinza subtil pedido */
.deliverables-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.deliverables-table tbody tr:hover {
    background-color: #f0f0f0; 
}

.deliverables-table td:nth-child(1) {
    font-weight: 700;
    color: #A81B26;
}

/* --- Lead Links Styles --- */
.lead-link {
    color: #A81B26 !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.lead-link:hover {
    color: #6D6E70; 
    text-decoration: none;
}

.lead-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #6D6E70;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.lead-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* --- Prettier Buttons (CTAs) --- */
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 40px;
    background: #9f9e9e;
    color: #fff !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    transition: all .3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    
    /* RESOLUÇÃO DO BUG DO BOTÃO: Impede rigorosamente que o texto salte para fora ou quebre */
    white-space: nowrap; 
}

.btn-download:hover {
    background: #8e151e;
    color: #fff !important;
    box-shadow: 0 6px 15px rgba(168, 27, 38, 0.4);
    transform: translateY(-2px); 
}

/* --- Responsiveness Override --- */
@media(max-width: 992px){
    .deliverables-table {
        /* Alargado ligeiramente de 900px para 960px para dar o espaço perfeito no mobile */
        min-width: 960px; 
    }
}

#deliverables{
    padding: 120px 0px;
    background-color: rgba(109, 110, 112, 0.15);
}