/* ==========================================================================
   📖 BASE CONFIGURADA DO SITE
   ========================================================================== */
:root {
    --purple-main: #c44ce4;
    --text-black: #1a1a1a;
    --text-muted: #666666;
}

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

body {
    margin: 0;
    font-family: 'Playfair Display', serif;
    background: #ffffff;
    color: var(--text-black);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================================================
   📌 NAVBAR FIXA (sticky)
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #595959;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* LOGO */
.logo img {
    width: 140px;
    max-width: 100%;
    transition: transform 0.3s ease;
    display: block;
}

.logo img:hover {
    transform: scale(1.05);
}

/* MENU (DESKTOP HORIZONTAL) */
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

/* LINKS */
.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
}

/* sublinhado elegante */
.nav-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 1px;
    background: #c9a66b;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #c9a66b;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* ☰ HAMBURGUER */
.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
}

/* ==========================================================================
   🏛️ BLOCO DO ARTIGO (POESIA) - CONFIGURADO CONFORME A IMAGEM
   ========================================================================== */
.container {
    max-width: 1100px;
    width: 100%;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    background-color: #ffffff;
    padding: 20px 40px;
}

/* Coluna Esquerda: Poema */
.poem-column {
    display: flex;
    flex-direction: column;
}

.meta-header {
    margin-bottom: 45px;
}

.date {
    font-family: 'Arial', sans-serif;
    font-size: 0.85rem;
    background-color: var(--purple-main);
    color: white;
    display: inline-block;
    padding: 3px 12px;
    font-weight: bold;
    margin-bottom: 8px;
}

.category {
    font-family: 'Arial', sans-serif;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--purple-main);
    letter-spacing: 1px;
    padding-left: 2px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-black);
}

.author-container {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 45px;
    max-width: 450px;
}

.author-tag {
    font-family: 'Arial', sans-serif;
    font-size: 0.85rem;
    background-color: var(--purple-main);
    color: #ffffff;
    padding: 5px 14px;
    display: inline-block;
}

.poem-content {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: #333333;
    line-height: 1.7;
}

.stanza {
    margin-bottom: 35px;
}

.stanza p {
    margin-bottom: 6px;
}

/* Coluna Direita: Livro e Ações */
.book-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
}

.book-notice {
    font-family: 'Playfair Display', serif;
    color: var(--purple-main);
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
    margin-bottom: 40px;
    font-size: 1.05rem;
    text-align: right;
    width: 100%;
    max-width: 340px;
}

/* Efeito Livro Tridimensional Realista */
.book-wrapper {
    position: relative;
    background-color: var(--purple-main);
    padding: 20px 10px 20px 25px;
    border-radius: 4px 12px 12px 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    margin-bottom: 50px;
    max-width: 340px;
    width: 100%;
    display: flex;
    align-items: center;
}

.book-spine {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    background: linear-gradient(to right, rgba(0,0,0,0.25), rgba(0,0,0,0.05));
    border-radius: 4px 0 0 4px;
}

.book-cover {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.book-pages {
    position: absolute;
    right: 3px;
    top: 24px;
    bottom: 24px;
    width: 8px;
    background: #ffffff;
    border-radius: 0 2px 2px 0;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    z-index: 1;
}

/* Botões de Ação */
.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
    max-width: 220px;
}

.btn-read {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    color: var(--text-black);
    text-decoration: none;
    font-size: 0.95rem;
    text-align: center;
    width: 100%;
    transition: color 0.2s;
}

.btn-read:hover {
    color: var(--purple-main);
}

.btn-subscribe {
    font-family: 'Arial', sans-serif;
    background-color: var(--purple-main);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 12px 0;
    text-align: center;
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(196, 76, 228, 0.3);
    transition: opacity 0.2s;
}

.btn-subscribe:hover {
    opacity: 0.9;
}

h3 {
    font-size: 1.4rem;
    color: #111;
    line-height: 1.4;
    margin-bottom: 20px;
}
/* ==========================================================================
   👣 FOOTER
   ========================================================================== */
.site-footer {
    background-color: #555555;
    color: #ffffff;
    padding: 60px 40px 30px 40px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-newsletter {
    flex: 1;
    max-width: 500px;
}

.footer-newsletter h2 {
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: normal;
    margin-bottom: 15px;
}

.footer-newsletter p {
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    width: 100%;
    max-width: 400px;
    padding: 12px 15px;
    border: none;
    background-color: #f0f0f0;
    font-size: 0.95rem;
    color: #333;
}

.newsletter-form button {
    width: fit-content;
    background-color: #8c3b2b;
    color: #ffffff;
    border: none;
    padding: 12px 35px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.newsletter-form button:hover {
    background-color: #722e21;
}

.footer-contact {
    text-align: right;
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-label {
    display: block;
    color: #b0b0b0;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.contact-link {
    color: #ffffff;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-substack a {
    color: #ffffff;
    text-decoration: none;
}

.contact-substack a:hover {
    text-decoration: underline;
}

.footer-socials {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a {
    color: #ffffff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-socials a:hover {
    opacity: 0.7;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
}

.footer-slogan {
    text-align: right;
    font-size: 0.85rem;
    color: #e0e0e0;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-divider {
    border: none;
    border-top: 1px solid #777777;
    margin-bottom: 15px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #cccccc;
}

/* ==========================================================================
   📱 RESPONSIVIDADE (MOBILE & ANIMAÇÕES) - LIVRO REDUZIDO EM MOBILE
   ========================================================================== */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #3a3a3a;
        flex-direction: column;
        gap: 18px;
        display: none;
        padding: 25px 0;
        transform-origin: top;
        animation: openMenu 0.4s ease forwards;
    }

    .nav-links.active {
        display: flex;
    }

    @keyframes openMenu {
        from { transform: scaleY(0); opacity: 0; }
        to { transform: scaleY(1); opacity: 1; }
    }

    .hamburger {
        display: block;
    }

    .container {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 40px;
        margin: 20px auto;
    }

    /* Reduz o tamanho do bloco do livro no telemóvel */
    .book-column {
        padding-top: 0;
        align-items: center;
    }

    .book-wrapper {
        max-width: 200px; /* Reduz a largura máxima do livro */
        padding: 12px 6px 12px 16px;
        margin-bottom: 30px;
    }

    .book-spine {
        width: 8px;
    }

    .book-pages {
        width: 5px;
        top: 15px;
        bottom: 15px;
    }

    .book-notice {
        text-align: center;
        margin-bottom: 25px;
    }

    .cta-container {
        max-width: 180px;
        gap: 15px;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-contact, 
    .footer-slogan {
        text-align: left;
    }

    .footer-socials {justify-content: flex-start;}}
