/* O Psicólogo Clínico - Folha de estilos compartilhada */
:root {
            --primary: #1e3a3a;
            --primary-light: #2d5252;
            --accent: #7a9e7a;
            --accent-light: #8fb88f;
            --bg-cream: #faf9f6;
            --bg-warm: #f5f3f0;
            --text-dark: #2c2c2c;
            --text-light: #5a5a5a;
            --white: #ffffff;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        body {
            font-family: 'Source Sans Pro', sans-serif;
            color: var(--text-dark);
            background-color: var(--bg-cream);
            line-height: 1.6;
        }

        h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; }

        /* Cookie Banner */
        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--primary);
            color: var(--white);
            padding: 1rem 2rem;
            z-index: 10000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .cookie-banner.show { transform: translateY(0); }
        .cookie-banner a { color: var(--accent-light); text-decoration: underline; }

        .cookie-btn {
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            margin-left: 0.5rem;
        }

        .cookie-btn-accept { background: var(--accent); color: var(--white); }
        .cookie-btn-decline { background: transparent; color: var(--white); border: 1px solid var(--white); }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(250, 249, 246, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

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

        .logo {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
        }

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

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            transition: color 0.3s ease;
        }

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

        .nav-cta {
            background: var(--primary);
            color: var(--white) !important;
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
        }

        /* Hero */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 6rem 2rem 4rem;
            background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-warm) 100%);
        }

        .hero-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .hero h1 {
            font-size: 3.5rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }

        .hero h1 span { color: var(--accent); font-style: italic; }

        .hero-badge {
            display: inline-block;
            background: rgba(122, 158, 122, 0.2);
            color: var(--primary);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 1rem;
            text-transform: uppercase;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: var(--text-light);
            margin-bottom: 2rem;
        }

        .hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background: var(--primary);
            color: var(--white);
        }

        .btn-secondary {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .hero-image { position: relative; }

        .hero-image img {
            width: 100%;
            max-width: 500px;
            border-radius: 20px;
            box-shadow: 0 8px 30px rgba(30, 58, 58, 0.15);
        }

        .experience-badge {
            position: absolute;
            bottom: 2rem;
            left: -2rem;
            background: var(--white);
            padding: 1.5rem;
            border-radius: 15px;
            box-shadow: 0 8px 30px rgba(30, 58, 58, 0.15);
            text-align: center;
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .experience-badge .number {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            display: block;
        }

        /* Sections */
        .section-container { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header h2 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        /* Specialties */
        .specialties { background: var(--white); }

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

        .specialty-card {
            background: var(--bg-cream);
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .specialty-card:hover {
            transform: translateY(-5px);
            border: 2px solid var(--accent);
        }

        .specialty-icon {
            width: 60px;
            height: 60px;
            background: var(--accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 1.5rem;
            color: var(--white);
        }

        .specialty-link {
            color: var(--accent);
            text-decoration: none;
            font-weight: 600;
        }

        /* About */
        .about { background: var(--bg-warm); }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-image img {
            width: 100%;
            border-radius: 20px;
            box-shadow: 0 8px 30px rgba(30, 58, 58, 0.15);
        }

        .about-content h2 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }

        .credentials {
            display: flex;
            gap: 2rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .credential-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--primary);
            font-weight: 600;
        }

        /* Approach */
        .approach {
            background: var(--primary);
            color: var(--white);
        }

        .approach .section-header h2,
        .approach .section-header p { color: var(--white); }

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

        .approach-card {
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }

        /* Process - CORRIGIDO E SIMPLIFICADO */
        .process { background: var(--white); }

        .process-steps {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 3rem;
            position: relative;
        }

        .process-step {
            text-align: center;
            position: relative;
            background: var(--bg-cream);
            padding: 2rem;
            border-radius: 15px;
            border-top: 4px solid var(--accent);
        }

        .step-number {
            width: 50px;
            height: 50px;
            background: var(--accent);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0 auto 1rem;
        }

        /* Testimonials */
        .testimonials { background: var(--bg-warm); }

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

        .testimonial-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgba(30, 58, 58, 0.1);
            position: relative;
        }

        .testimonial-card::before {
            content: '"';
            font-family: 'Cormorant Garamond', serif;
            font-size: 4rem;
            color: var(--accent);
            position: absolute;
            top: -10px;
            left: 20px;
            opacity: 0.3;
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 1rem;
            line-height: 1.8;
            position: relative;
            z-index: 1;
        }

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

        .testimonial-role {
            font-size: 0.875rem;
            color: var(--text-light);
        }

        /* FAQ */
        .faq { background: var(--bg-cream); }

        .faq-container { max-width: 800px; margin: 0 auto; }

        .faq-item {
            background: var(--white);
            border-radius: 10px;
            margin-bottom: 1rem;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(30, 58, 58, 0.1);
        }

        .faq-question {
            width: 100%;
            padding: 1.5rem;
            background: none;
            border: none;
            text-align: left;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .faq-item.active .faq-answer {
            max-height: 500px;
            padding: 0 1.5rem 1.5rem;
        }

        /* CTA */
        .cta-section {
            background: var(--primary);
            color: var(--white);
            text-align: center;
        }

        .cta-section h2 { font-size: 2.5rem; margin-bottom: 1rem; }

        .cta-section .btn-primary {
            background: var(--white);
            color: var(--primary);
        }

        .cta-section .btn-secondary {
            border-color: var(--white);
            color: var(--white);
        }

        /* Footer */
        footer {
            background: var(--primary);
            color: var(--white);
            padding: 3rem 2rem 1rem;
        }

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

        .footer-col a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
        }

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

        /* WhatsApp Float */
        .whatsapp-float {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 60px;
            height: 60px;
            background: #25d366;
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.75rem;
            text-decoration: none;
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            z-index: 999;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
            70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
            100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
        }

        /* Chat Widget */
        .chat-widget {
            position: fixed;
            bottom: 100px;
            right: 2rem;
            z-index: 998;
        }

        .chat-button {
            width: 60px;
            height: 60px;
            background: var(--primary);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            border: none;
            box-shadow: 0 4px 20px rgba(30, 58, 58, 0.3);
        }

        .chat-box {
            position: absolute;
            bottom: 70px;
            right: 0;
            width: 300px;
            background: var(--white);
            border-radius: 15px;
            box-shadow: 0 8px 30px rgba(30, 58, 58, 0.15);
            display: none;
            overflow: hidden;
        }

        .chat-box.active { display: block; }

        .chat-header {
            background: var(--primary);
            color: var(--white);
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .chat-body { padding: 1.5rem; }

        .chat-message {
            background: var(--bg-warm);
            padding: 1rem;
            border-radius: 10px;
            margin-bottom: 1rem;
        }

        .chat-option {
            display: block;
            padding: 0.75rem;
            background: var(--bg-cream);
            border: 1px solid var(--accent);
            border-radius: 8px;
            text-align: center;
            text-decoration: none;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        /* Responsive */
        @media (max-width: 968px) {
            .hero-container, .about-grid { grid-template-columns: 1fr; text-align: center; }
            .hero h1 { font-size: 2.5rem; }
            .hero-image { order: -1; }
            .experience-badge { left: 50%; transform: translateX(-50%); }
            .process-steps { grid-template-columns: 1fr; }
            .nav-links { display: none; }
        }

        @media (max-width: 480px) {
            .hero h1 { font-size: 2rem; }
            .cookie-banner { flex-direction: column; text-align: center; }
        }

        /* ===== Páginas internas de especialidade ===== */
        .breadcrumb {
            padding: 6.5rem 2rem 0;
            max-width: 1200px;
            margin: 0 auto;
            font-size: 0.9rem;
            color: var(--text-light);
        }
        .breadcrumb a { color: var(--accent); text-decoration: none; }
        .breadcrumb a:hover { text-decoration: underline; }

        .page-hero {
            padding: 2rem 2rem 3rem;
            background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-warm) 100%);
        }
        .page-hero-inner { max-width: 900px; margin: 0 auto; }
        .page-hero h1 { font-size: 2.75rem; color: var(--primary); margin-bottom: 1.25rem; }
        .page-hero h1 span { color: var(--accent); font-style: italic; }
        .page-hero .lead { font-size: 1.2rem; color: var(--text-light); margin-bottom: 1.75rem; }

        .article-content { max-width: 820px; margin: 0 auto; padding: 3rem 2rem; }
        .article-content h2 {
            color: var(--primary);
            font-size: 2rem;
            margin: 2.5rem 0 1rem;
        }
        .article-content h2:first-child { margin-top: 0; }
        .article-content p { color: var(--text-light); margin-bottom: 1.1rem; font-size: 1.05rem; }
        .article-content ul { margin: 0 0 1.5rem 1.5rem; color: var(--text-light); }
        .article-content ul li { margin-bottom: 0.5rem; font-size: 1.05rem; }
        .article-content strong { color: var(--text-dark); }

        .highlight-box {
            background: rgba(122, 158, 122, 0.12);
            border-left: 4px solid var(--accent);
            padding: 1.25rem 1.5rem;
            border-radius: 0 8px 8px 0;
            margin: 1.5rem 0;
        }
        .highlight-box p { margin-bottom: 0 !important; color: var(--text-dark) !important; }

        .mini-faq { max-width: 820px; margin: 0 auto; padding: 0 2rem 3rem; }
        .mini-faq h2 { text-align: center; margin-bottom: 2rem; }

        .related-links {
            max-width: 820px; margin: 0 auto; padding: 0 2rem 4rem;
            display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem;
        }
        .related-links a {
            display: block; background: var(--white); padding: 1.25rem 1.5rem;
            border-radius: 10px; text-decoration: none; color: var(--primary);
            font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            border: 1px solid rgba(0,0,0,0.04);
        }
        .related-links a:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
        .related-links a span { display: block; font-weight: 400; font-size: 0.9rem; color: var(--text-light); margin-top: 0.3rem; }
