/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary: #a8d5ba;
    --primary-foreground: #ffffff;
    --background: #faf9f7;
    --foreground: #3a3a3a;
    --card: #ffffff;
    --muted-foreground: #7a7a7a;
    --secondary: #e8dcc8;
    --border: #e0d5c7;
    --accent: #8fa3b8;
    --accent-light: rgba(143, 163, 184, 0.05);
    --secondary-light: rgba(232, 220, 200, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

h1 { font-size: 2.25rem; line-height: 1.2; }
h2 { font-size: 1.875rem; line-height: 1.3; }
h3 { font-size: 1.25rem; }

p { line-height: 1.7; margin-bottom: 1rem; }

a { color: inherit; text-decoration: none; transition: all 0.3s; }

/* ===== MENU  ===== */

.menu{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 40px;
background:#ffffff;
border-bottom:1px solid #eee;
}

.menu a{
text-decoration:none;
color:#333;
font-weight:500;
margin-left:20px;
}

.menu a:hover{
color:#2a7de1;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.header-title {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.heart-icon {
    color: var(--primary);
    font-size: 1.5rem;
}

.header-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    display: none;
}

@media (min-width: 640px) {
    .header-subtitle { display: block; }
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--foreground);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ===== MAIN ===== */
main {
    flex: 1;
    min-height: calc(100vh - 200px);
}

section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    section { padding: 4rem 0; }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== BLOG LIST PAGE ===== */
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== BLOG CARD ===== */

.blog-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;

    display: flex;
    flex-direction: column;
    min-height: 420px; /* padroniza altura */
}

.blog-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* ===== IMAGEM ===== */

.blog-card-image {
    width: 100%;
    height: 205px;
    overflow: hidden;
    display: block;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== CONTEÚDO ===== */

.blog-card-content {
    padding: 1.5rem;

    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ===== META ===== */

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ===== TÍTULO ===== */

.blog-card h3 {
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

/* ===== TEXTO ===== */

.blog-card p {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    margin-bottom: 1rem;

    flex-grow: 1; /* empurra botão pra baixo */
}

/* ===== FOOTER (BOTÃO) ===== */

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: auto; /* fixa na base */
}

/* ===== TEMPO DE LEITURA ===== */

.read-time {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* ===== BUTTONS ===== */
.btn {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    border: none;
    display: inline-block;
    transition: all 0.3s ease-out;
    font-size: 1rem;
}

.btn:hover {
    filter: brightness(0.95);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--accent);
    color: var(--primary-foreground);
}

.btn-secondary:hover {
    filter: brightness(0.95);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== ARTICLE PAGE ===== */
.article-header {
    background-color: var(--secondary-light);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.article-header-content {
    max-width: 48rem;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-header h1 {
    margin-bottom: 1rem;
}

.article-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.article-content {
    max-width: 48rem;
    margin: 0 auto;
}

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* ===== HIGHLIGHT BLOCK ===== */
.highlight-block {
    background-color: var(--accent-light);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.highlight-block h3 {
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.highlight-block p {
    margin: 0;
    color: var(--foreground);
}

/* ===== CTA BLOCK ===== */
.cta-block {
    background-color: var(--secondary-light);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-top: 3rem;
}

.cta-block h3 {
    margin-bottom: 1rem;
}

.cta-block p {
    margin-bottom: 1.5rem;
    color: var(--muted-foreground);
}

/* ===== RELATED ARTICLES ===== */
.related-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.related-articles h3 {
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

.related-card {
    background-color: var(--card);
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.related-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-card h4 {
    margin-bottom: 0.5rem;
}

.related-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
footer {
    background-color: rgba(232, 220, 200, 0.1);
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-top: 3rem;
}

@media (min-width: 768px) {
    .footer-content { grid-template-columns: repeat(3, 1fr); }
}

.footer-section h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--primary);
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-muted { color: var(--muted-foreground); }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.125rem; }
    
    .blog-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    
    .article-header {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

/* ===== AJUSTE PROFISSIONAL DO ARTIGO ===== */

.blog-post {
    padding: 30px 15px;
}

/* CONTAINER DO TEXTO */
.post-content {
    max-width: 720px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: #2b2b2b;
}

/* TÍTULO */
.post-content h1 {
    font-size: 30px;
    margin-bottom: 25px;
    line-height: 1.3;
}

/* SUBTÍTULOS */
.post-content h2 {
    font-size: 24px;
    margin-top: 45px;
    margin-bottom: 18px;
}

.post-content h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* PARÁGRAFOS */
.post-content p {
    margin-bottom: 20px;
    font-size: 17px;
}

/* LISTAS */
.post-content ul {
    margin: 20px 0;
    padding-left: 22px;
}

.post-content li {
    margin-bottom: 10px;
}

/* IMAGEM AJUSTADA (AQUI ESTÁ O PRINCIPAL) */
.post-content img {
    width: 100%;
    max-width: 680px;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    border-radius: 12px;
    margin: 25px auto 35px auto;
    display: block;
}

/* ===== BOTÕES (AGORA FICAM PROFISSIONAIS) ===== */

.cta-box {
    text-align: center;
    background: #f4f8fb;
    padding: 30px 20px;
    border-radius: 14px;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.cta-box p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* BOTÃO REAL */
.cta-box a {
    display: inline-block;
    padding: 14px 26px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

/* HOVER */
.cta-box a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* CTA FINAL MAIS FORTE */
.cta-box.destaque {
    background: #eafaf1;
    border: 1px solid #d4f5df;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .post-content {
        padding: 0 10px;
    }

    .post-content h1 {
        font-size: 24px;
    }

    .post-content h2 {
        font-size: 20px;
    }

    .post-content img {
        max-height: 250px;
    }

    .cta-box {
        padding: 20px;
    }

    .cta-box a {
        width: 100%;
        text-align: center;
    }
}/* ===== AJUSTE PROFISSIONAL DO ARTIGO ===== */

.blog-post {
    padding: 30px 15px;
}

/* CONTAINER DO TEXTO */
.post-content {
    max-width: 720px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: #2b2b2b;
}

/* TÍTULO */
.post-content h1 {
    font-size: 30px;
    margin-bottom: 25px;
    line-height: 1.3;
}

/* SUBTÍTULOS */
.post-content h2 {
    font-size: 24px;
    margin-top: 45px;
    margin-bottom: 18px;
}

.post-content h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* PARÁGRAFOS */
.post-content p {
    margin-bottom: 20px;
    font-size: 17px;
}

/* LISTAS */
.post-content ul {
    margin: 20px 0;
    padding-left: 22px;
}

.post-content li {
    margin-bottom: 10px;
}

/* IMAGEM AJUSTADA (AQUI ESTÁ O PRINCIPAL) */
.post-content img {
    width: 100%;
    max-width: 680px;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin: 25px auto 35px auto;
    display: block;
}

/* ===== BOTÕES (AGORA FICAM PROFISSIONAIS) ===== */

.cta-box {
    text-align: center;
    background: #f4f8fb;
    padding: 30px 20px;
    border-radius: 14px;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.cta-box p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* BOTÃO REAL */
.cta-box a {
    display: inline-block;
    padding: 14px 26px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

/* HOVER */
.cta-box a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* CTA FINAL MAIS FORTE */
.cta-box.destaque {
    background: #eafaf1;
    border: 1px solid #d4f5df;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .post-content {
        padding: 0 10px;
    }

    .post-content h1 {
        font-size: 24px;
    }

    .post-content h2 {
        font-size: 20px;
    }

    .post-content img {
        max-height: 250px;
    }

    .cta-box {
        padding: 20px;
    }

    .cta-box a {
        width: 100%;
        text-align: center;
    }
}
