/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f2f3f7;
    color: #2d2d2d;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    background: linear-gradient(135deg, #5c6ac4 0%, #4f83cc 100%);
    color: #fff;
    padding: 3rem 0 2.5rem;
}

.header-inner {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.75rem;
}

.site-header h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    max-width: 12ch;
}

.hero-text,
.hero-label {
    max-width: 60ch;
}

.hero-text {
    margin: 1rem 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.92);
}

.hero-label {
    background: rgba(255,255,255,0.15);
    display: inline-block;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    font-size: 0.95rem;
}

.intro,
.posts,
.about {
    padding: 2.5rem 0;
}

.intro-card,
.about-card,
.post-card {
    background: #ffffff;
    border: 1px solid rgba(29,43,79,0.08);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
    padding: 2rem;
}

.intro-card {
    text-align: center;
}

.intro-card h2,
.about-card h2 {
    margin-bottom: 1rem;
    font-size: 1.9rem;
}

.intro-card p,
.about-card p {
    margin-bottom: 1.25rem;
    color: #4f5662;
}

.badge {
    display: inline-flex;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: #eef4ff;
    color: #2a4db8;
    font-weight: 600;
    font-size: 0.95rem;
}

.posts h2,
.about h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.post-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.post-card p {
    margin-bottom: 1.25rem;
    color: #555a6b;
}

.post-card a {
    color: #3f62d0;
    font-weight: 700;
    text-decoration: none;
}

.post-card a:hover {
    text-decoration: underline;
}

.about-card ul {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.about-card li {
    padding-left: 1.25rem;
    position: relative;
    color: #4f5662;
}

.about-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4f5dbb;
}

.site-footer {
    background: #1d2444;
    color: #d7d8e2;
    padding: 1.5rem 0;
    margin-top: 1rem;
}

.site-footer p {
    text-align: center;
    font-size: 0.95rem;
}

.site-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem auto 0;
    padding: 0.7rem 0;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
}

.site-nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: rgba(255,255,255,0.22);
}

.example-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}

.example-grid div {
    background: #f7f8ff;
    padding: 1rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(79, 102, 208, 0.15);
}

@media (max-width: 860px) {
    .post-grid,
    .example-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 2rem 0 1.5rem;
    }

    .header-inner {
        gap: 1rem;
    }

    .site-nav {
        margin-top: 1rem;
    }

    .intro-card,
    .about-card,
    .post-card {
        padding: 1.5rem;
    }
}
