/* IMPORTAÇÃO DE FONTES */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@400;600;700&display=swap');

/* VARIÁVEIS DO PROJETO */
:root {
    --bg: #ffffff;
    --text: #333333;
    --gold: #C6A667;
    --gold-dark: #a88a4e;
    --light-gray: #f9f9f9;
    --shadow: rgba(0, 0, 0, 0.05);
}

/* RESET E CONFIGURAÇÕES GERAIS */
* {
    box-sizing: border-box;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

body {
    margin: 0;
    background: var(--bg);
    font-family: 'Lora', serif;
    color: var(--text);
    line-height: 1.8;
}

/* CABEÇALHO (AJUSTADO PARA SEO) */
header {
    background: var(--light-gray);
    padding: 30px 20px;
    border-bottom: 1px solid #eee;
    border-top: 4px solid var(--gold);
    text-align: center;
}

/* Substituído 'header h1' por classe para evitar duplicidade de H1 */
.logo-wrapper {
    margin: 0;
    display: block;
}

.logo-link {
    color: var(--gold) !important;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: -1px;
    display: inline-block;
}

header p {
    font-size: 1rem;
    color: #777;
    margin: 8px 0 20px;
    font-style: italic;
}

/* NAVEGAÇÃO */
#menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gold);
    margin-bottom: 15px;
}

#menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
    justify-content: center;
}

nav a {
    text-decoration: none;
    color: #555;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover, nav a.active {
    color: var(--gold);
}

/* CONTEÚDO PRINCIPAL */
main {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--text);
}

/* SEÇÃO DE CITAÇÕES (REFLEXÃO DO MOMENTO) */
#quotes-section {
    padding: 50px 30px;
    background: var(--light-gray);
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: 2px 4px 15px var(--shadow);
    text-align: center;
    border: 1px solid #eee;
}

.quote-container {
    position: relative;
    max-width: 550px;
    margin: 20px auto;
    padding: 30px 10px;
}

.quote-icon-left, .quote-icon-right {
    font-family: "Georgia", serif;
    font-size: 100px;
    color: var(--gold);
    opacity: 0.2;
    position: absolute;
    line-height: 1;
    user-select: none;
}

.quote-icon-left { top: -30px; left: -20px; }
.quote-icon-right { bottom: -50px; right: -20px; }

#quote-box {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

#new-quote-btn {
    background: var(--gold);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    margin-top: 30px;
    text-transform: uppercase;
}

#new-quote-btn:hover {
    background: var(--gold-dark);
}

/* ARTIGOS E CARDS */
.article {
    background: #fff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.article:hover {
    box-shadow: 0 10px 20px var(--shadow);
    transform: translateY(-3px);
}

.article h3 {
    margin-top: 0;
    font-family: 'Montserrat', sans-serif;
}

.article h3 a {
    color: var(--text);
    text-decoration: none;
}

.article h3 a:hover {
    color: var(--gold);
}

.post-meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
}

/* DESTAQUE (FEATURED) NO INDEX */
#featured-article {
    background: linear-gradient(135deg, #fdfdfd 0%, #f4f4f4 100%);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #eee;
    margin-bottom: 40px;
    text-align: center;
}

.featured-badge {
    background: var(--gold);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.btn-read {
    display: inline-block;
    margin-top: 20px;
    color: var(--gold);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
}

/* RODAPÉ */
footer {
    text-align: center;
    padding: 50px 20px;
    background: var(--light-gray);
    margin-top: 80px;
    border-top: 1px solid #eee;
    color: #888;
}

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

footer a:hover {
    color: var(--gold);
}

/* RESPONSIVIDADE (MOBILE) */
@media (max-width: 768px) {
    .logo-link { font-size: 1.7rem; }
    
    #menu ul {
        display: none;
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }

    #menu.open ul {
        display: flex;
    }

    #menu-toggle {
        display: inline-block;
    }

    .quote-icon-left, .quote-icon-right {
        font-size: 60px;
    }

    #quote-box {
        font-size: 1.2rem;
    }
}

.quote-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Animação de Brilho */
@keyframes quote-glow {
    0% { text-shadow: 0 0 0px rgba(198, 166, 103, 0); transform: scale(1); }
    50% { text-shadow: 0 0 20px rgba(198, 166, 103, 0.5); transform: scale(1.02); }
    100% { text-shadow: 0 0 0px rgba(198, 166, 103, 0); transform: scale(1); }
}

.glow-effect {
    animation: quote-glow 0.6s ease-out;
}

/* ============================================================
   COMPONENTE DE COMPARTILHAMENTO (SHARE-COMPONENT)
   ============================================================ */

.share-container {
    margin: 60px 0;
    padding: 40px 20px;
    background: var(--light-gray); /* Usando sua variável */
    border-radius: 15px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px var(--shadow);
}

.share-container p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold); /* Usando seu dourado */
    margin-bottom: 25px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.share-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Efeito de subir e brilhar ao passar o mouse */
.share-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}

/* Cores Oficiais das Redes */
.share-btn.whatsapp { background-color: #25D366; }
.share-btn.twitter { background-color: #000000; } /* Estilo X */
.share-btn.linkedin { background-color: #0077b5; }

/* Ajuste para os ícones SVG ficarem centralizados e brancos */
.share-btn svg {
    fill: white;
    width: 26px;
    height: 26px;
    display: block;
}

/* Responsividade para celulares pequenos */
@media (max-width: 480px) {
    .share-buttons { gap: 12px; }
    .share-btn { width: 48px; height: 48px; }
    .share-btn svg { width: 22px; height: 22px; }
}


/* AJUSTES DE IMAGEM DO POST */
.post-featured-image {
    width: 100%;             /* Ocupa 100% da largura do container (800px) */
    max-width: 100%;         /* Garante que nunca transborde */
    height: auto;            /* Mantém a proporção (não achata) */
    display: block;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Garante que qualquer outra imagem dentro do post também se comporte */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
