/* 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 */
header {
    background: var(--light-gray);
    padding: 30px 20px;
    border-bottom: 1px solid #eee;
    border-top: 4px solid var(--gold);
    text-align: center;
}

header h1 {
    margin: 0;
}

header h1 a {
    color: var(--gold) !important;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: -1px;
}

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) {
    header h1 a { 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; /* Garante que no celular um fique embaixo do outro se não couber */
        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;
}
