:root {
    --blue: #16303A;
    --blue-light: #294650;
    --amber: #E8A33D;
    --cream: #FAF6EF;
    --white: #FFFFFF;
    --line: rgba(22, 48, 58, 0.12);
    --muted: #667276;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--blue);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    width: min(100%, 620px);
    margin: 0 auto;
    padding: 48px 22px 32px;
}


/* =========================
   PERFIL
========================= */

.profile {
    text-align: center;
    margin-bottom: 48px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.logo-mark {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--blue);
    color: var(--amber);

    font-family: "Playfair Display", serif;
    font-size: 38px;
    font-weight: 700;

    position: relative;
}

.logo-mark::after {
    content: "";
    position: absolute;

    width: 18px;
    height: 18px;

    border-right: 4px solid var(--amber);
    border-bottom: 4px solid var(--amber);

    border-radius: 0 0 14px 0;

    right: -2px;
    bottom: -2px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    text-align: left;

    line-height: 1;
}

.logo-text strong {
    font-size: 21px;
    letter-spacing: 0.12em;
}

.logo-text small {
    margin-top: 6px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.35em;

    color: var(--amber);
}

.eyebrow {
    margin: 0 0 17px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;

    color: var(--amber);
}

h1 {
    margin: 0 auto;

    max-width: 540px;

    font-family: "Playfair Display", serif;

    font-size: clamp(34px, 7vw, 46px);
    line-height: 1.08;

    letter-spacing: -0.025em;
}

h1 span {
    display: block;
}

.intro {
    max-width: 470px;

    margin: 20px auto 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.65;
}


/* =========================
   CATEGORIAS
========================= */

.categories {
    margin-bottom: 28px;
}

.section-heading {
    margin-bottom: 15px;
}

.section-label {
    display: block;

    margin-bottom: 5px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.2em;

    color: var(--amber);
}

.section-heading h2 {
    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: 25px;
}


/* =========================
   CARDS
========================= */

.category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-card {
    display: flex;
    align-items: center;

    min-height: 82px;

    padding: 14px 16px;

    background: var(--white);

    border: 1px solid var(--line);

    border-radius: 15px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.category-card:hover {
    transform: translateY(-2px);

    border-color: rgba(232, 163, 61, 0.45);

    box-shadow:
        0 10px 25px rgba(22, 48, 58, 0.08);
}

.category-icon {
    width: 47px;
    height: 47px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--cream);

    color: var(--blue);

    font-size: 22px;
}

.category-content {
    flex: 1;

    min-width: 0;

    padding: 0 13px;
}

.category-content h3 {
    margin: 0 0 4px;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.3;
}

.category-content p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.45;
}

.arrow {
    color: var(--amber);

    font-size: 21px;

    transition:
        transform 0.2s ease;
}

.category-card:hover .arrow {
    transform: translate(2px, -2px);
}


/* =========================
   DESTAQUE
========================= */

.featured {
    position: relative;

    overflow: hidden;

    margin-top: 32px;

    background: var(--blue);

    border-radius: 18px;

    color: var(--white);
}

.featured::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -80px;
    right: -60px;

    border: 1px solid rgba(232, 163, 61, 0.3);

    border-radius: 50%;
}

.featured::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    top: -50px;
    right: -30px;

    border: 1px solid rgba(232, 163, 61, 0.2);

    border-radius: 50%;
}

.featured-top {
    padding: 11px 18px;

    background: var(--amber);

    color: var(--blue);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.2em;
}

.featured-body {
    position: relative;
    z-index: 1;

    padding: 25px 22px 23px;
}

.featured-label {
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.2em;

    color: var(--amber);
}

.featured-body h2 {
    max-width: 400px;

    margin: 7px 0 9px;

    font-family: "Playfair Display", serif;

    font-size: 29px;
    line-height: 1.08;
}

.featured-body p {
    max-width: 460px;

    margin: 0 0 20px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 13px;
    line-height: 1.6;
}

.featured-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 15px;

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 8px;

    font-size: 12px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.featured-button:hover {
    background: var(--amber);
    color: var(--blue);
}


/* =========================
   SITE PRINCIPAL
========================= */

.website-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 14px;
    padding: 15px 18px;

    border: 1px solid var(--line);

    border-radius: 13px;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.website-link:hover {
    background: var(--white);

    border-color: rgba(232, 163, 61, 0.45);
}

.website-link span:last-child {
    color: var(--amber);
    font-size: 19px;
}


/* =========================
   FOOTER
========================= */

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 30px;

    color: #899194;

    font-size: 10px;

    letter-spacing: 0.03em;
}

.footer-dot {
    color: var(--amber);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {

    .page {
        padding: 34px 17px 25px;
    }

    .profile {
        margin-bottom: 38px;
    }

    .logo {
        margin-bottom: 23px;
    }

    .logo-mark {
        width: 52px;
        height: 52px;

        font-size: 34px;
    }

    .logo-text strong {
        font-size: 19px;
    }

    h1 {
        font-size: 34px;
    }

    .intro {
        font-size: 14px;
    }

    .category-card {
        min-height: 76px;
        padding: 12px;
    }

    .category-icon {
        width: 43px;
        height: 43px;
    }

    .category-content h3 {
        font-size: 14px;
    }

    .category-content p {
        font-size: 11px;
    }

    .featured-body {
        padding: 22px 19px 20px;
    }

    .featured-body h2 {
        font-size: 27px;
    }

}
