/* ========================================
   METANOIA333 - SAÚDE MENTAL & DESENVOLVIMENTO PESSOAL
   Paleta: Tons Acolhedores de Bem-estar
   ======================================== */

:root {
    --primary-teal: #0d7377;
    --secondary-teal: #14a085;
    --accent-coral: #d62828;
    --accent-warm: #f77f00;
    --light-bg: #f0f4f8;
    --white: #ffffff;
    --dark-text: #1a1a1a;
    --light-text: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

/* ========================================
   HEADER E NAVEGAÇÃO
   ======================================== */

header {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-teal) 100%);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-warm), var(--accent-coral));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-warm);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.hero {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-teal) 50%, var(--accent-warm) 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: var(--accent-coral);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--accent-coral);
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background: var(--white);
    color: var(--accent-coral);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid var(--white);
    margin-left: 1rem;
}

.cta-button-secondary:hover {
    background: var(--white);
    color: var(--primary-teal);
}

/* ========================================
   CONTAINER E SEÇÕES
   ======================================== */

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

section {
    padding: 4rem 0;
}

section.alt-bg {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-teal);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-warm), var(--accent-coral));
    border-radius: 2px;
}

/* ========================================
   GRID DE SERVIÇOS
   ======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-teal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--light-text);
    line-height: 1.8;
}

/* ========================================
   DEPOIMENTOS
   ======================================== */

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-warm);
}

.testimonial-card .stars {
    color: #f39c12;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-teal);
}

/* ========================================
   CLIENTES
   ======================================== */

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.client-logo {
    width: 120px;
    height: 120px;
    background: var(--light-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--secondary-teal);
    transition: var(--transition);
    cursor: pointer;
}

.client-logo:hover {
    background: var(--secondary-teal);
    color: var(--white);
    transform: scale(1.05);
}

/* ========================================
   FORMULÁRIO DE CONTATO
   ======================================== */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-teal);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-teal);
    box-shadow: 0 0 0 3px rgba(20, 160, 133, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-warm), var(--accent-coral));
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   RODAPÉ
   ======================================== */

footer {
    background: var(--primary-teal);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-warm);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #d1d5db;
}

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

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-teal), var(--accent-warm));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    object-fit: cover;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background: var(--secondary-teal);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-teal);
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: var(--light-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--secondary-teal);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-warm);
}

/* ========================================
   PÁGINA DE ARTIGO
   ======================================== */

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.article-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 2rem;
}

.article-title {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.article-meta {
    color: var(--light-text);
    font-size: 0.95rem;
}

.article-content {
    line-height: 1.8;
    color: var(--dark-text);
}

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-teal);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-bg);
}

.related-articles h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-teal);
}

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

.related-item {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary-teal);
    transition: var(--transition);
}

.related-item:hover {
    background: var(--secondary-teal);
    color: var(--white);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        display: none;
    }

    nav.active ul {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button-secondary {
        display: block;
        margin-left: 0;
        margin-top: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .testimonials-grid,
    .clients-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 1.8rem;
    }

    footer .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card,
    .testimonial-card,
    .blog-card {
        padding: 1.5rem;
    }
}

/* ========================================
   UTILITÁRIOS
   ======================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}
