/* ============================================
   CRESCIMENTO PESSOAL - ESTILOS CLÁSSICOS
   Design: Elegante, Minimalista, Profissional
   ============================================ */

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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #8b7355;
    --light-bg: #f5f3f0;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #e0ddd8;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.nav-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.language-selector {
    margin-left: 20px;
}

.lang-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--white);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.lang-select:hover {
    border-color: var(--accent-color);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #f5f3f0 0%, #ede9e3 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background-color: #7a6249;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.article-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #e8e4df 0%, #ddd9d3 100%);
}

.article-content {
    padding: 30px;
}

.article-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.article-date {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.article-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #7a6249;
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 4px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

.modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
    line-height: 1.3;
}

.modal-meta {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
}

.modal-body {
    line-height: 1.9;
    font-size: 16px;
    color: var(--text-dark);
}

.modal-body p {
    margin-bottom: 20px;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter {
    background: linear-gradient(135deg, #f5f3f0 0%, #ede9e3 100%);
    padding: 60px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.newsletter-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.newsletter-button {
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background-color: #7a6249;
    transform: translateY(-2px);
}

/* ============================================
   AD SPACE
   ============================================ */

.ad-space {
    background-color: var(--light-bg);
    padding: 40px 0;
    text-align: center;
}

.ad-placeholder {
    background-color: var(--white);
    border: 2px dashed var(--border-color);
    padding: 40px;
    border-radius: 4px;
    color: var(--text-light);
    font-size: 14px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-dark);
    text-align: center;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 1.9;
}

.contact-content p {
    margin-bottom: 20px;
}

.contact-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-content a:hover {
    color: #7a6249;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 20% auto;
    }

    .modal-title {
        font-size: 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input,
    .newsletter-button {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 15px 0;
    }

    .logo h1 {
        font-size: 20px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 24px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .article-content {
        padding: 20px;
    }

    .article-title {
        font-size: 18px;
    }

    .modal-content {
        margin: 30% auto;
        padding: 15px;
    }
}
