:root {
            --bg-color: #fdfaf6; 
            --frame-bg: #ffffff;
            --tag: #e66c02;
            --text-color: #2c2c2c;
            --primary-color: #8b6b4a; 
            --hover-color: #a6845e;
            --border-color: #e5d8c5;
            --hero-bg-color: #1a1614; /* Cor escura para o Hero */
        }

        body {
            font-family: 'Lora', serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
        }
        
        .poem-frame, 
        .other-poems-section {
            margin-left: auto;
            margin-right: auto;
        }

        /* --- HERO SECTION --- */
        .hero-section {
            width: 100%;
            height: 450px;
            background-color: var(--primary-color);
            /* Imagem de fundo mesclada com a cor escura */
            background-image: linear-gradient(to bottom, #debd9b, #d99b5b), url('davi.jpg');
            background-size: cover;
            background-position: center;
            background-blend-mode: multiply;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding-top: 80px;
            text-align: center;
            box-sizing: border-box;
        }

        .hero-title {
            font-family: 'Cormorant Garamond', serif;
            color: #ffffff;
            font-size: 3.5rem;
            margin: 0;
            letter-spacing: 2px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

        .hero-subtitle {
            font-family: 'Lora', serif;
            color: #e5d8c5;
            font-size: 1.2rem;
            font-style: italic;
            margin-top: 15px;
            font-weight: 400;
            letter-spacing: 1px;
        }

        /* --- FRAME PRINCIPAL (1000px) --- */
        .poem-frame {
            width: 1000px;
            max-width: 90%;
            background-color: var(--frame-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 50px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            box-sizing: border-box;
            
            /* Sobreposição do Hero */
            margin-top: -180px; 
            position: relative;
            z-index: 10;
            margin-bottom: 60px;
        }

        .poem-tag {
            display: inline-block;
            font-family: 'Lora', sans-serif;
            background-color: var(--tag);
            color: #fff;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            padding: 6px 14px;
            border-radius: 50px;
            margin-bottom: 20px;
        }

        .poem-title {
            font-family: 'Cormorant Garamond', serif;
            font-style: normal;
            text-align: center;
            font-size: 3.1rem;
            color: var(--primary-color);
            margin-top: 0;
            margin-bottom: 30px;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 20px;
        }

        /* Container do Vídeo Responsivo */
        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
            height: 0;
            overflow: hidden;
            border-radius: 8px;
            margin-bottom: 40px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        /* Botões de Ação */
        .action-buttons {
            display: flex;
            justify-content: space-between;
            gap: 15px;
            border-top: 1px solid var(--border-color);
            padding-top: 30px;
        }
        .btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 5px;
            font-family: 'Lora', serif;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
        }
        .btn:hover {
            background-color: var(--hover-color);
            transform: translateY(-2px);
        }
        .btn-share {
            background-color: #fff;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }
        .btn-share:hover {
            background-color: var(--primary-color);
            color: #fff;
        }
        
        /* --- MENU EXTERNO (Outras Poesias) --- */
        .other-poems-section {
            width: 1000px;
            max-width: 90%;
            margin-bottom: 60px;
        }

        .category-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2.2rem;
            color: var(--primary-color);
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 10px;
            margin-top: 40px;
            margin-bottom: 25px;
            text-align: center;
        }

        .poems-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 15px;
        }

        .poem-link-btn {
            background-color: #fff;
            border: 1px solid var(--border-color);
            padding: 16px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 15px;
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.02);
        }
        .poem-link-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(139, 107, 74, 0.15);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }
        
        /* Estilos diferenciados para os ícones */
        .poem-link-btn i {
            color: var(--primary-color);
            font-size: 1.4rem;
            width: 30px;
            text-align: center;
            background-color: var(--bg-color);
            padding: 10px;
            border-radius: 50%;
        }

        /* --- ESTILOS DO PAPEL DE CARTA E POESIA (ATUALIZADO) --- */

        .letter-paper {
            /* Imagem do papel antigo */
            background-image: url('papel-amassado.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-color: #e8dcc7; /* Cor de fundo caso a imagem demore a carregar */
            border-radius: 8px;
            padding: 60px 40px;
            margin: 30px auto 40px auto;
            position: relative;
            /* Sombra interna para dar o efeito de bordas escuras/amassadas */
            box-shadow: inset 0 0 40px rgba(100, 70, 40, 0.2), 0 5px 15px rgba(0,0,0,0.05);
            max-width: 800px;
            border: 1px solid rgba(139, 107, 74, 0.3);
            overflow: hidden;
        }

        /* Contêiner da Poesia com aspas no CSS */
        .poem-text {
            position: relative;
            z-index: 2; /* Mantém o texto acima de qualquer detalhe do fundo */
            text-align: center;
            font-size: 1.25rem;
            line-height: 1.8;
            color: #2c1c11; /* Marrom escuro imitando tinta, melhor contraste no papel antigo */
            font-weight: 500;
            padding: 0 30px;
        }

        .poem-text p {
            margin-bottom: 25px;
            position: relative;
            z-index: 2;
        }

        /* Aspas Gigantes pelo CSS */
        .poem-text::before,
        .poem-text::after {
            font-family: 'Cormorant Garamond', serif;
            font-size: 7rem;
            color: #5c4028; /* Marrom envelhecido para combinar com a folha */
            opacity: 0.2;
            position: absolute;
            line-height: 1;
            z-index: 1;
        }

        /* Aspa de Abertura */
        .poem-text::before {
            content: '\201C'; 
            top: -40px;
            left: -20px;
        }

        /* Aspa de Fechamento */
        .poem-text::after {
            content: '\201D'; 
            bottom: -60px;
            right: -20px;
        }

        /* Responsividade para telas menores */
        @media (max-width: 768px) {
            .hero-title { font-size: 2.5rem; padding: 0 15px; }
            .hero-subtitle { font-size: 1rem; padding: 0 15px; }
            .poem-frame { padding: 30px 20px; margin-top: -120px; }
            .action-buttons { flex-direction: column; }
            .btn { justify-content: center; }
            
            .letter-paper { padding: 40px 20px; }
            .poem-text::before { left: -10px; top: -30px; }
            .poem-text::after { right: -10px; bottom: -40px; }
            .watermark-son { font-size: 4rem; bottom: 10px; right: 15px; }
        }
