/* --- RESET E VARIÁVEIS --- */
:root {
    --primary-color: #8a1724;
    --primary-hover:  #73131e;
    --text-dark: #191919;
    --text-gray: #888888;
    --bg-card: #f9f9f9;
    --radius: 16px;
    --transition: 0.3s ease;
    --speed-green: #22C55E;
    /* Cor do ícone 'Mais Rápido' */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
    /* font-family: "Inter", "Inter Fallback"; */
}

/* --- BACKGROUND E LAYOUT GERAL --- */
body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    /* Lógica do Fundo: Imagem + Camada Escura + Destaque Laranja */
    background-image:
        /* Gradiente Laranja (Destaque em pontos específicos) */
        radial-gradient(circle at 80% 20%, rgba(138, 23, 36, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(138, 23, 36, 0.15) 0%, transparent 40%),
        /* Camada Escura para dar contraste */
        linear-gradient(rgba(29, 29, 38, 0.85), rgba(29, 29, 38, 0.9)),
        /* Imagem de fundo */
        url('../img/bg.jpg');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column; /* Isso empilha os elementos */
    gap: 12px;
    align-items: center;    /* Centraliza os blocos horizontalmente */
    justify-content: center;
}

/* --- COLUNA DA ESQUERDA (Info) --- */
.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
}

.logos-area {
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza as logos no topo */
    gap: 25px;
    margin-bottom: 8px; 
}

.logos-area img {
    height: 32px;
    /* Altura controlada das logos */
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Deixa logos brancas */
}

.logo-solucz {
    height: 50px !important; 
}

.divider {
    height: 25px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.4);
}

.info-card {
    background: var(--bg-card);
    padding: 12px 14px 8px 14px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 100%;
    /* Para alinhar altura se necessário */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card h1 {
    color: var(--text-dark);
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 12px;
    text-align: center;
}

.info-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: center;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* --- COLUNA DA DIREITA (Links) --- */
.right-column {
    flex: 1;
    max-width: 500px;
    width: 100%;
}

.left-column, .right-column {
    width: 100%;
    max-width: 500px; /* Mantém um tamanho confortável para leitura */
}

.links-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-item {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: var(--transition);
    background: #fff;
    position: relative;
    /* Necessário para o badge absoluto */
}

.link-item:hover {
    border-color: var(--primary-color);
    /* background: #fff2f238; */
    /* Fundo levemente laranja */
    transform: translateY(-2px);
    /* box-shadow: 0 4px 12px rgba(255, 117, 12, 0.15); */
    box-shadow: 0 4px 12px rgba(138, 23, 36, 0.15);
    /* #8a1724 */
}

/* Estilo para o item em destaque (Laranja) */
.link-item.featured {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.link-item.featured:hover {
    background-color: var(--primary-hover);
    /* box-shadow: 0 4px 15px rgba(255, 117, 12, 0.4); */
    box-shadow: 0 4px 15px rgba(138, 23, 36, 0.4);

}

.link-item.featured .icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.link-item.featured .text-box h3,
.link-item.featured .text-box span,
.link-item.featured .arrow-icon {
    color: white;
}

/* Badge "Mais Rápido" */
.badge-speed {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--speed-green);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.link-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-box {
    width: 48px;
    height: 48px;
    background: #FCEBEC;
    /* Laranja bem claro */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    transition: var(--transition);
}

.text-box h3 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 2px;
    transition: var(--transition);
}

.text-box span {
    color: var(--text-gray);
    font-size: 0.85rem;
    transition: var(--transition);
}

.arrow-icon {
    color: #ddd;
    transition: var(--transition);
}

.link-item:not(.featured):hover .arrow-icon {
    color: var(--primary-color);
    transform: translateX(4px);
}

.link-item.featured:hover .arrow-icon {
    transform: translateX(4px);
}

.footer-text {
    /* margin-top: 10px; */
    text-align: center;
    color: #999;
    font-size: 0.8rem;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 850px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .left-column,
    .right-column {
        max-width: 100%;
        width: 100%;
    }

    .info-card {
        padding: 30px;
        text-align: center;
    }

    .logos-area {
        justify-content: center;
        padding-left: 0;
        /* height: 40px; */
        align-items: center;
    }

    /* 1. Diminui o tamanho das logos no celular */
    .logos-area img {
        height: 22px; /* Reduz de 32px para 22px */
    }

    /* 2. Ajusta a divisória para o novo tamanho e impede que ela suma */
    .divider {
        height: 22px; /* Altura proporcional às novas logos */
        flex-shrink: 0; /* O SEGREDO: Impede que a divisória seja "esmagada" */
        background-color: rgba(255, 255, 255, 0.6); /* Aumentei um pouco a opacidade para garantir visibilidade */
        margin: 0 10px; /* Um pouco de margem lateral para não grudar */
    }

    .partner-badge {
        margin: 0 auto 0px auto;

        font-size: 0.55rem;
    }
}

/* Animação de entrada */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* --- Estilos do Badge de Parceiro --- */
.partner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
    background-color: #FCEBEC;
    color: var(--primary-color); /* A cor laranja é definida aqui */
    border: 1px solid rgba(138, 23, 36, 0.2);

    
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    align-self: center;
}

.partner-badge i {
    font-size: 1.0rem;
}

/* --- ESTILO ESPECÍFICO DO LINK DENTRO DO BADGE --- */
.partner-badge a {
    color: inherit;          /* Herda a cor vermelha do pai */
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.partner-badge a:hover {
    text-decoration: underline; /* Adiciona sublinhado ao passar o mouse */
}

@media (max-width: 850px) {
    .partner-badge {
        margin: 0 auto 0px auto;

        font-size: 0.55rem;
    }
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-style: normal;
}