/* --- KINGDOM PARTNERS SPECIFIC STYLES --- */

.kp-page {
    background-color: #faf9ee; /* Matches your --fundo-pagina */
}

/* Hero Section */
.kp-hero {
    height: 40vh;
    /* Replace 'your-image.jpg' with your actual image file */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('image_6571de.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.kp-hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    letter-spacing: 8px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.kp-hero-content p {
    font-size: 1rem;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Main Container */
.kp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    
}

.kp-intro {
    text-align: center;
    margin-bottom: 90px;
}

.kp-intro h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: #2f332c; /* Matches your --texto-contraste */
}

.kp-intro p {
    font-size: 1.25rem;
    line-height: 1.9;
    color: #555;
    max-width: 1000px;
    margin: 0 auto;
}

/* Grid Layout */
.kp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 120px;
}
.kp-grid a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color */
    display: block;
    height: 100%; /* Ensure the link covers the entire card */
}

.kp-card-link {
    display: block;
    height: 100%;
}

.kp-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    padding: 50px 40px;
    border-radius: 4px;
    box-shadow: 12px 12px 0px #dccfc0; /* Matches your --bege-areia */
    transition: all 0.3s ease;
    border: 1px solid #eee;
    text-align: center;
    height: 100%; /* Ensure the card takes full height of the grid item */
}

.kp-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 18px 18px 0px #a2af9b; /* Changes to Sage Green on hover */
}

.kp-card h3 {
    color: #a2af9b; /* Matches your --verde-salvia */
    margin-bottom: 20px;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.kp-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.kp-westcontainer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 120px;
}

.kp-westimg1, .kp-westimg2 {
    display: block; /* Garante que fiquem uma embaixo da outra */
    width: 100%;
    max-width: 500px;
    height: auto; /* Mantém a proporção original, evitando que estique */
    object-fit: contain; /* Garante que o conteúdo da imagem se ajuste ao espaço sem deformar */
    margin-bottom: 20px; /* Espaço entre a imagem de cima e a de baixo */
    
    border-radius: 4px;
    /*box-shadow: 12px 12px 0px #dccfc0;*/
    transition: all 0.3s ease;
    background-color: white;
    border: 1px solid #484848;
}

/* Call to Action Section */
.kp-action {
    background-color: #000;
    color: white;
    padding: 100px 40px;
    text-align: center;
    border-radius: 4px;
}

.kp-action h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.kp-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 18px 50px;
    background-color: #a2af9b;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 3px;
    transition: 0.4s ease;
    text-transform: uppercase;
}

.kp-btn:hover {
    background-color: white;
    transform: scale(1.05);
}

/* Adicione isso ao final do seu kingdom-partners.css */
body.kp-page {
    padding-top: 40px !important; /* Ajuste este valor se ainda estiver muito longe do topo */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .kp-hero { height: 35vh; }
    .kp-hero-content p { font-size: 0.9rem; margin-left: 55px; margin-right: 55px; padding: 20px 0; }
    .kp-hero-content h1 { font-size: 28px; }
    .kp-intro h2 { font-size: 2rem; }
    .kp-intro p { font-size: 1.1rem; max-width: 300px; }
    .kp-container { padding: 60px 20px; }
    .kp-grid {text-align: center;}
    .kp-westcontainer { display: flex; flex-direction:   column; align-items: center; gap: 0px;}
}