/* CSS Stylesheet - Denuzia Barreto Neuropsicopedagogia */

/* ============================================
   Variables and Base Styles
   ============================================ */
:root {
    --primary-coral: #D4A5A5;
    --secondary-coral: #E8C4C4;
    --light-coral: #F5EAEA;
    --dark-coral: #B8857D;
    --accent-green: #27A875;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --light-gray: #F9F9F9;
    --border-color: #DEDEDE;
    --shadow-light: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 12px rgba(0,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-light);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
}

.logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-coral) 0%, var(--secondary-coral) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-coral);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-coral);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--light-coral) 0%, var(--secondary-coral) 100%);
    padding: 60px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-image {
    max-width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.hero-text h1 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* ============================================
   Buttons
   ============================================ */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-coral) 0%, var(--dark-coral) 100%);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.submit-button {
    background: linear-gradient(135deg, var(--primary-coral) 0%, var(--dark-coral) 100%);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ============================================
   Space Section
   ============================================ */
.space-section {
    background-color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.space-section h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.space-section p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.faq-section h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 50px;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-item h3 {
    font-size: 18px;
    color: var(--primary-coral);
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

/* ============================================
   About Professional Section
   ============================================ */
.about-professional {
    background: linear-gradient(135deg, var(--light-coral) 0%, var(--secondary-coral) 100%);
    padding: 80px 0;
}

.about-professional h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

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

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.signature {
    margin-top: 30px;
    font-style: italic;
    text-align: right;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
    background-color: var(--white);
    padding: 80px 0;
}

.testimonials h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 50px;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--light-coral) 0%, var(--secondary-coral) 100%);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.testimonial-card p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.5);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.contact-section h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 50px;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.contact-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.contact-card h3 {
    color: var(--primary-coral);
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-card p {
    color: var(--text-light);
    font-size: 15px;
}

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

.contact-card a:hover {
    color: var(--dark-coral);
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-coral);
    box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.1);
}

/* ============================================
   Blog Sections
   ============================================ */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-coral) 0%, var(--secondary-coral) 100%);
    padding: 80px 0;
    text-align: center;
}

.blog-hero h1 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
}

.blog-hero p {
    font-size: 18px;
    color: var(--white);
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

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

.blog-grid h2 {
    text-align: center;
    margin-bottom: 50px;
}

.blog-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-image {
    width: 100%;
    height: 200px;
    background-color: var(--secondary-coral);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.blog-card h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.blog-card h2 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h2 a:hover {
    color: var(--primary-coral);
}

.blog-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-coral);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--dark-coral);
}

/* ============================================
   Blog Article
   ============================================ */
.blog-article {
    background-color: var(--white);
    padding: 80px 0;
}

.article-header {
    margin-bottom: 50px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 30px;
}

.article-header h1 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
}

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

.article-body h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-body h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-body p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.intro-text {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 500;
}

.article-body ul,
.article-body ol {
    margin: 20px 0 20px 30px;
    color: var(--text-light);
}

.article-body li {
    margin-bottom: 10px;
}

.article-cta {
    background: linear-gradient(135deg, var(--light-coral) 0%, var(--secondary-coral) 100%);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 60px;
}

.article-cta h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.article-cta p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Related Articles */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.related-articles h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 30px;
}

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

.related-card {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-coral);
}

.related-card:hover {
    background-color: var(--secondary-coral);
}

.related-card h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.related-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Blog CTA */
.blog-cta {
    background: linear-gradient(135deg, var(--primary-coral) 0%, var(--secondary-coral) 100%);
    padding: 60px 0;
    text-align: center;
}

.blog-cta h2 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 15px;
}

.blog-cta p {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

.footer p {
    margin: 5px 0;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
    }

    .hero .container,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .article-header h1 {
        font-size: 32px;
    }

    .blog-article .container {
        grid-template-columns: 1fr;
    }

    .faq-grid,
    .testimonials-grid,
    .blog-grid .container {
        grid-template-columns: 1fr;
    }

    .article-body h2 {
        font-size: 24px;
    }

    .contact-card,
    .contact-form {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        height: 70px;
    }

    .nav-menu {
        gap: 10px;
        font-size: 14px;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .space-section h2,
    .contact-section h2,
    .testimonials h2,
    .faq-section h2 {
        font-size: 28px;
    }

    .article-header h1 {
        font-size: 24px;
    }

    .article-body {
        font-size: 15px;
    }

    .article-body h2 {
        font-size: 20px;
    }

    .article-body h3 {
        font-size: 16px;
    }
}
