:root {
    --primary-color: #3366FF; /* Azul Pesoti Oficial */
    --primary-light: #5C8AFF;
    --primary-dark: #1A3BB2;
    --accent-color: #F5F7FF;
    --bg-color: #FFFFFF;
    --bg-light: #F9FAFB;
    --text-main: #1F2937;
    --text-muted: #4B5563;
    --white: #FFFFFF;
    --font-heading: 'Helvetica NeueLT Std', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'Helvetica NeueLT Std', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    
    /* Z-index mapping */
    --z-navbar: 1000;
}

/* Reset and Global Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Typography Utilities */
p {
    text-align: justify;
    margin-bottom: 20px;
}

.text-center { text-align: center !important; }
.text-center p, .text-center h1, .text-center h2, .text-center h3 { text-align: center; }

.highlight { color: var(--primary-color); }
.mt-5 { margin-top: 50px; }
.mb-5 { margin-bottom: 50px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(51, 102, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 102, 255, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.badge {
    display: inline-block;
    background-color: rgba(51, 102, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: var(--z-navbar);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.img-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
}

.nav-links a:hover { color: var(--primary-color); }
.nav-links a:hover::after { width: 100%; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content { flex: 1; }

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 90%;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.trust-indicators {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.trust-item i {
    color: var(--primary-color);
    margin-right: 8px;
}

.hero-image { flex: 1; position: relative; }

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Sobre Mim & Resume */
.sobre-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.sobre-image { flex: 1; position: sticky; top: 120px; }

.sobre-content { flex: 1; }

.section-title { font-size: 2.5rem; margin-bottom: 10px; }

.subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 500;
}

.resume-section { margin-top: 40px; }
.resume-section h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list { list-style: none; margin-bottom: 25px; }

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.features-list i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Especialidades Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition-fast);
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Como Funciona */
.steps-container {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 40px auto;
}

.step { flex: 1; text-align: center; padding: 0 20px; }

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(51, 102, 255, 0.3);
}

.step-connector {
    flex: 0.5;
    height: 3px;
    background-color: var(--primary-light);
    opacity: 0.3;
    margin-top: 30px;
}


/* FAQ Accordion */
.accordion { max-width: 800px; margin: 0 auto; }

.accordion-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 30px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] i { transform: rotate(180deg); }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 30px;
}

.faq-tag {
    display: inline-block;
    background-color: rgba(51, 102, 255, 0.1);
    color: var(--primary-dark);
    border: 1px solid rgba(51, 102, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 4px;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.img-logo-footer {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer h3 { color: #fff; margin-bottom: 25px; }

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: #aaa; }
.footer ul a:hover { color: var(--primary-light); }

.social-links { display: flex; gap: 15px; margin-top: 25px; }

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #777;
    font-size: 0.85rem;
}

/* Animations visibility */
.fade-in, .slide-in-left, .slide-in-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in { transform: translateY(30px); }
.slide-in-left { transform: translateX(-50px); }
.slide-in-right { transform: translateX(50px); }

.fade-in.visible, .slide-in-left.visible, .slide-in-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Highlight Box — Seção PsiOnline */
.highlight-box {
    background-color: var(--accent-color);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 720px;
    margin: 0 auto;
}

.highlight-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.highlight-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0;
    font-style: italic;
}

/* Responsive */
@media (max-width: 992px) {
    .container { padding: 0 30px; }
    .hero-container, .sobre-container { flex-direction: column; text-align: center; }
    .hero-content p { margin: 0 auto 30px; text-align: center; }
    .hero-buttons, .trust-indicators { justify-content: center; }
    .sobre-image { position: relative; top: 0; order: 2; margin-top: 40px; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
        display: flex; /* Ensure it's flex when active */
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .mobile-menu-btn { display: block; }
    .nav-btn { display: none; }

    .hero-content h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .cards-grid { grid-template-columns: 1fr; }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .step-connector { display: none; }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- Blog Feed Styles (Simple List) --- */
.blog-links-list {
    list-style: none;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.blog-link-item {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition-fast);
}

.blog-link-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(51, 102, 255, 0.1);
}

.blog-link-anchor {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    gap: 20px;
    color: var(--primary-dark);
    font-weight: 500;
}

.blog-link-anchor i:first-child {
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.7;
}

.blog-link-title {
    flex-grow: 1;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.4;
}

.blog-link-anchor i:last-child {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.blog-link-item:hover .blog-link-anchor i:last-child {
    color: var(--primary-color);
    transform: translate(3px, -3px);
}

.blog-loading {
    padding: 50px;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

@media (max-width: 768px) {
    .blog-link-anchor {
        padding: 15px 20px;
        gap: 15px;
    }
    .blog-link-title {
        font-size: 1rem;
    }
}
