* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background: #181d21;
    color: #ffffff;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 3rem 2rem 6rem;
}

body.page-index { justify-content: center; }
body.page-sobre { justify-content: flex-start; }

.logo-hero {
    width: 100%;
    max-width: 480px;
    height: auto;
    opacity: 0;
    animation: fadeIn 1.4s ease-out 0.2s forwards;
}

header {
    width: 100%;
    max-width: 720px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.1s forwards;
}

header a {
    display: inline-block;
    width: 140px;
}

header img { width: 100%; height: auto; display: block; }

nav.main-nav {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1.4s ease-out 0.7s forwards;
}

nav.main-nav a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #A0A5AA;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.25rem 0;
}

nav.main-nav a:hover,
nav.main-nav a.active { color: #F2A83B; }

nav.main-nav a.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: #F2A83B;
}

body.page-index nav.main-nav { justify-content: center; margin-top: 2.5rem; }
body.page-sobre nav.main-nav {
    justify-content: flex-start;
    width: 100%;
    max-width: 720px;
    margin-top: 1.5rem;
    margin-bottom: 4rem;
}

main {
    width: 100%;
    max-width: 720px;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.35s forwards;
}

h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 2rem;
}

h1 span { color: #F2A83B; }

h2 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #F2A83B;
    margin: 3rem 0 1.5rem;
}

p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #C8CDD2;
    margin-bottom: 1.4rem;
    max-width: 65ch;
}

/* Lista de posts */

.post-list {
    list-style: none;
    margin-top: 1rem;
}

.post-list li {
    padding: 1.8rem 0;
    border-bottom: 1px solid #242a2f;
}

.post-list li:first-child { padding-top: 0.5rem; }

.post-list .post-date {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #6B7177;
    margin-bottom: 0.6rem;
}

.post-list .post-title {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: color 0.2s ease;
}

.post-list a.post-title:hover { color: #F2A83B; }

.post-list .post-excerpt {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #A0A5AA;
    margin: 0;
}

/* Conteúdo de páginas / posts */

.entry-content p { max-width: 65ch; }

.entry-content a { color: #F2A83B; }

.post-meta {
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #6B7177;
    margin-bottom: 1.5rem;
}

.back-link {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #A0A5AA;
    text-decoration: none;
    margin-top: 3rem;
    transition: color 0.2s ease;
}

.back-link:hover { color: #F2A83B; }

/* Paginação */

.pagination {
    margin-top: 3rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination a {
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
    color: #A0A5AA;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pagination a:hover { color: #F2A83B; }

/* Rodapé */

footer {
    position: fixed;
    bottom: 1.5rem;
    left: 0; right: 0;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #6B7177;
    opacity: 0;
    animation: fadeIn 1.4s ease-out 1s forwards;
}

body.page-sobre footer { position: static; margin-top: 5rem; }

footer a {
    color: #F2A83B;
    text-decoration: none;
}

@keyframes fadeIn { to { opacity: 1; } }

@media (max-width: 600px) {
    body { padding: 2rem 1.5rem 4rem; }
    .logo-hero { max-width: 90vw; }
    header a { width: 110px; }
    nav.main-nav { gap: 1.5rem; }
    nav.main-nav a { font-size: 0.7rem; letter-spacing: 2px; }
    body.page-index nav.main-nav { margin-top: 2rem; }
    body.page-sobre nav.main-nav { margin-top: 1rem; margin-bottom: 3rem; }
    h1 { font-size: 1.8rem; }
    footer { font-size: 0.7rem; letter-spacing: 1.5px; bottom: 1rem; }
}