:root {
    --primary: #0d6efd;
    --secondary: #0a58ca;
    --dark: #1f2933;
    --light: #f4f7fb;
    --card: #ffffff;
}

* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    background-color: var(--light);
    color: var(--dark);
}

header {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    padding: 28px 20px;
    text-align: center;
    color: white;
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 44px;
    letter-spacing: 2px;
}

header p {
    margin-top: 8px;
    font-size: 17px;
    opacity: 0.95;
}

.logo {
    max-height: 60px;
}

/* ===== RDAP WIDGET ===== */
.rdap-widget {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.15);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    text-align: right;
}

.rdap-widget input {
    width: 140px;
    padding: 5px;
    border-radius: 4px;
    border: none;
}

.rdap-widget button {
    padding: 5px 8px;
    border: none;
    border-radius: 4px;
    background: white;
    color: var(--primary);
    font-weight: bold;
    cursor: pointer;
}

.rdap-result {
    margin-top: 6px;
    color: white;
}
/* ======================= */

main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 26px;
    margin-bottom: 25px;
    text-align: center;
}

.apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.card {
    background-color: var(--card);
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3 {
    margin-top: 0;
    font-size: 22px;
}

.card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.card a {
    margin-top: 18px;
    text-align: center;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.card a:hover {
    background-color: var(--secondary);
}

.downloads {
    margin-top: 60px;
}

.downloads ul {
    list-style: none;
    padding: 0;
    columns: 2;
    max-width: 700px;
    margin: 0 auto;
}

.downloads li {
    padding: 6px 0;
}

.downloads a {
    text-decoration: none;
    color: var(--dark);
}

.downloads a:hover {
    text-decoration: underline;
}

footer {
    margin-top: 70px;
    background-color: #0b1e39;
    color: #cbd5e1;
    padding: 22px;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 34px;
    }

    .downloads ul {
        columns: 1;
    }

    .rdap-widget {
        position: static;
        margin-top: 15px;
        text-align: center;
    }
}
.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.card-header img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.site-footer {
    background: #0f172a;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
}

.footer-access {
    display: inline-flex;   /* 馃憟 NO flex */
    align-items: center;
    gap: 18px;
    background: #1e293b;
    padding: 18px 28px;
    border-radius: 16px;
    text-decoration: none;
    width: auto;           /* 馃憟 evita ocupar todo */
    max-width: max-content;
}

.footer-access:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,.6);
}

.access-icon {
    width: 48px;
    height: 48px;
    background: #38bdf8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.access-icon img {
    width: 26px;
    height: 26px;
}

.access-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.access-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.access-subtitle {
    color: #cbd5f5;
    font-size: .8rem;
}

