/* Blog Fernando Pessoa - Mensagem */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Lora', Georgia, serif; line-height: 1.8; color: #2c2c2c; background-color: #faf8f5; }

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.3; color: #1a1a2e; }
h1 { font-size: 4rem; letter-spacing: 0.1em; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; position: relative; padding-bottom: 0.5rem; }
h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background: linear-gradient(90deg, #8b4513, #d4a574); }
h3 { font-size: 1.5rem; margin: 1.5rem 0 1rem; color: #3d3d5c; }
h4 { font-size: 1.2rem; margin: 1rem 0 0.5rem; color: #4a4a6a; }
p { margin-bottom: 1rem; }
a { color: #8b4513; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #5c2d0e; text-decoration: underline; }

.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); overflow: hidden; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; color: #fff; padding: 2rem; }
.hero-content h1 { color: #fff; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); margin-bottom: 1rem; animation: fadeInUp 1s ease-out; }
.hero-content .subtitle { font-size: 1.5rem; font-style: italic; color: #d4a574; margin-bottom: 0.5rem; animation: fadeInUp 1s ease-out 0.2s both; }
.hero-content .author { font-size: 1.2rem; color: #a0a0a0; letter-spacing: 0.2em; text-transform: uppercase; animation: fadeInUp 1s ease-out 0.4s both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.main-nav { position: sticky; top: 0; background: #1a1a2e; padding: 1rem 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.main-nav ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 2rem; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.main-nav a { color: #d4a574; font-size: 0.95rem; letter-spacing: 0.05em; padding: 0.5rem 1rem; border-radius: 3px; transition: all 0.3s ease; }
.main-nav a:hover { background: rgba(212, 165, 116, 0.2); text-decoration: none; }

.container { max-width: 900px; margin: 0 auto; padding: 3rem 1.5rem; }

.blog-post { background: #fff; border-radius: 8px; padding: 2.5rem; margin-bottom: 3rem; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-left: 4px solid #8b4513; }
.blog-post .post-subtitle { color: #666; font-style: italic; font-size: 1.1rem; margin-top: -0.5rem; margin-bottom: 1.5rem; }
.blog-post .content { font-size: 1.05rem; }

blockquote { background: linear-gradient(135deg, #f8f4ef 0%, #f0e8dc 100%); border-left: 4px solid #8b4513; padding: 1.5rem 2rem; margin: 2rem 0; font-style: italic; font-size: 1.1rem; color: #4a4a4a; border-radius: 0 8px 8px 0; }
blockquote cite { display: block; margin-top: 1rem; font-size: 0.9rem; color: #888; font-style: normal; }

.comparison-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.comparison-table th, .comparison-table td { padding: 1rem; text-align: left; border-bottom: 1px solid #e0d8cc; }
.comparison-table th { background: #1a1a2e; color: #fff; font-weight: 600; }
.comparison-table tr:nth-child(even) { background: #f8f4ef; }
.comparison-table tr:hover { background: #f0e8dc; }

.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 1.5rem 0; }
.three-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 1.5rem 0; }
.column { padding: 1.5rem; background: #f8f4ef; border-radius: 8px; }
.column h4 { color: #8b4513; margin-top: 0; }

.feature-list { list-style: none; padding: 0; }
.feature-list li { padding: 0.8rem 0 0.8rem 2rem; position: relative; border-bottom: 1px solid #e0d8cc; }
.feature-list li::before { content: '✦'; position: absolute; left: 0; color: #8b4513; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin: 1.5rem 0; }
.feature-item { background: #f8f4ef; padding: 1.5rem; border-radius: 8px; border-top: 3px solid #8b4513; }
.feature-item h4 { margin-top: 0; color: #1a1a2e; }

.empire-timeline { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: 2rem 0; }
.empire-item { display: flex; flex-direction: column; align-items: center; padding: 1.5rem; background: #f8f4ef; border-radius: 8px; min-width: 150px; transition: transform 0.3s ease; }
.empire-item:hover { transform: translateY(-5px); }
.empire-item.highlight { background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%); color: #fff; }
.empire-item.highlight .empire-name, .empire-item.highlight .empire-desc { color: #fff; }
.empire-number { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #8b4513; color: #fff; border-radius: 50%; font-weight: bold; margin-bottom: 0.5rem; }
.empire-name { font-weight: 700; font-size: 1.1rem; color: #1a1a2e; }
.empire-desc { font-size: 0.85rem; color: #666; text-align: center; }

.poems-section { margin: 3rem 0; }
.poems-section > h2 { text-align: center; margin-bottom: 0.5rem; }
.poems-section > h2::after { left: 50%; transform: translateX(-50%); }
.section-subtitle { text-align: center; color: #888; font-style: italic; margin-bottom: 2rem; }

.poem-analysis { background: #fff; border-radius: 8px; margin-bottom: 3rem; box-shadow: 0 4px 20px rgba(0,0,0,0.08); overflow: hidden; }
.poem-header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; padding: 2rem; text-align: center; }
.poem-header h3 { color: #fff; margin: 0; font-size: 1.8rem; }
.poem-subtitle { color: #d4a574; font-style: italic; }
.poem-content { padding: 2rem; }
.historical-context { background: #f8f4ef; padding: 1.5rem; border-radius: 8px; margin-bottom: 2rem; }
.historical-context h4 { color: #8b4513; margin-top: 0; }
.historical-context ul { list-style: none; padding: 0; }
.historical-context li { padding: 0.5rem 0; border-bottom: 1px solid #e0d8cc; }
.historical-context li:last-child { border-bottom: none; }

.poem-text { margin: 2rem 0; }
.poem-verses { background: linear-gradient(135deg, #f8f4ef 0%, #f0e8dc 100%); padding: 2rem; border-radius: 8px; text-align: center; font-style: italic; font-size: 1.1rem; line-height: 2; border-left: 4px solid #8b4513; }
.poem-verses p { margin-bottom: 0.3rem; }

.analysis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.analysis-item { background: #f8f4ef; padding: 1.5rem; border-radius: 8px; }
.analysis-item h5 { color: #8b4513; margin-top: 0; font-size: 1.1rem; }

.formal-analysis { background: #f8f4ef; padding: 1.5rem; border-radius: 8px; margin-top: 1.5rem; border-left: 3px solid #8b4513; }
.formal-analysis ul { list-style: none; padding: 0; margin: 0; }
.formal-analysis li { padding: 0.6rem 0 0.6rem 1.5rem; position: relative; font-size: 0.95rem; line-height: 1.6; }
.formal-analysis li::before { content: '•'; position: absolute; left: 0; color: #8b4513; font-weight: bold; }

.message-section { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; border-left-color: #d4a574; }
.message-section h2 { color: #fff; }
.message-section h2::after { background: linear-gradient(90deg, #d4a574, #8b4513); }
.message-section .column { background: rgba(255,255,255,0.1); }
.message-section .column h4 { color: #d4a574; }
.call-to-action { text-align: center; margin-top: 2rem; padding: 2rem; background: rgba(255,255,255,0.1); border-radius: 8px; }
.hora { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: #d4a574; margin-bottom: 0.5rem; }

/* Curiosidades Grid */
.curiosities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.curiosity-item { background: #f8f4ef; padding: 1.5rem; border-radius: 8px; border-left: 3px solid #8b4513; transition: transform 0.2s ease; }
.curiosity-item:hover { transform: translateY(-3px); }
.curiosity-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.curiosity-item h4 { font-size: 1rem; color: #1a1a2e; margin: 0 0 0.5rem 0; }
.curiosity-item p { font-size: 0.9rem; color: #555; margin: 0; line-height: 1.5; }

.video-section { background: #fff; border-radius: 8px; padding: 2.5rem; margin-bottom: 3rem; box-shadow: 0 4px 20px rgba(0,0,0,0.08); text-align: center; }
.video-section h2::after { left: 50%; transform: translateX(-50%); }
.video-container { margin-top: 2rem; }
.video-placeholder { position: relative; background: #1a1a2e; border-radius: 8px; overflow: hidden; aspect-ratio: 16/9; }
.video-placeholder video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(26, 26, 46, 0.9); color: #d4a574; }
.video-overlay p { font-size: 1.3rem; margin-bottom: 0.5rem; }
.video-overlay small { color: #888; max-width: 80%; }

.bibliography { border-left-color: #3d3d5c; }
.sources-list { list-style: none; padding: 0; }
.sources-list li { padding: 0.8rem 0; border-bottom: 1px solid #e0d8cc; }
.sources-list li:last-child { border-bottom: none; }
.sources-list a { display: flex; align-items: center; gap: 0.5rem; }
.sources-list a::before { content: '📚'; }

.main-footer { background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%); color: #fff; padding: 3rem 1.5rem; text-align: center; }
.footer-content .quote { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-style: italic; color: #d4a574; margin-bottom: 1.5rem; }
.footer-content .credits { font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-content .group { color: #888; font-size: 0.9rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .hero { min-height: 500px; }
    .hero-content .subtitle { font-size: 1.2rem; }
    .main-nav ul { gap: 0.3rem 1rem; }
    .main-nav a { font-size: 0.85rem; padding: 0.4rem 0.8rem; }
    .blog-post { padding: 1.5rem; }
    .two-columns, .three-columns, .feature-grid, .analysis-grid, .curiosities-grid { grid-template-columns: 1fr; }
    .empire-timeline { flex-direction: column; align-items: center; }
    .empire-item { width: 100%; max-width: 300px; }
    .comparison-table { font-size: 0.85rem; }
    .comparison-table th, .comparison-table td { padding: 0.7rem; }
    .poem-header { padding: 1.5rem; }
    .poem-header h3 { font-size: 1.4rem; }
    .hora { font-size: 2rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .container { padding: 2rem 1rem; }
    .blog-post { padding: 1.2rem; margin-bottom: 2rem; }
    blockquote { padding: 1rem 1.2rem; }
    .poem-verses { padding: 1.2rem; font-size: 1rem; }
}
