/* =========================================================================
   Psychology Design System - Portfolio Demo LinkAqui
   Context: Dra. Mariana Alves (TCC)
   Colors: Warm Sand, Sage Green, Soft Brown.
   ========================================================================= */

:root {
    --primary-color: #8A9A5B; /* Verde Sálvia / Sage Green (Acolhimento/Renovação) */
    --primary-dark: #6B7C41;
    --secondary-color: #4A4737; /* Marrom escuro levemente acinzentado (Autoridade) */
    --accent-color: #E8E4D9; /* Areia Quente / Nude */
    --bg-color: #FDFCF8; /* Fundo Creme hiper leve */
    --bg-alt: #F4F1E9; /* Fundo de transição */
    
    --text-primary: #3B3A36;
    --text-secondary: #6B7062;
    
    /* Fontes: Serif para Títulos / Sans para Textos */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .logo {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 500;
}

p {
    font-size: 1.05rem;
}

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

/* ================== Utils ================== */
.bg-alt { background-color: var(--bg-alt); }

.section-padding { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}
.section-header p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 15px auto 0;
}

/* ================== Buttons ================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 35px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 5px; /* Bordas um pouco mais quadradas, leves */
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #FFF;
    box-shadow: 0 5px 15px rgba(138, 154, 91, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(138, 154, 91, 0.3);
    color: #FFF;
}

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

.btn-outline:hover {
    background: var(--secondary-color);
    color: #FFF;
}

/* ================== Header ================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(253, 252, 248, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
}
.logo span { color: var(--primary-color); font-family: var(--font-body); font-weight:300; font-size:1.1rem; margin-left: 5px;}

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

.nav-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

/* ================== Hero Section ================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 150px; /* Aumentado para descolar do menu fixo */
    padding-bottom: 50px;
    background: radial-gradient(circle at 100% 0%, var(--accent-color) 0%, transparent 60%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 340px;
}

.badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(138, 154, 91, 0.1);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(138, 154, 91, 0.2);
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-image-wrapper {
    flex: 1;
    min-width: 340px;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

/* Bolha decorativa de Imagem */
.hero-image {
    width: 100%;
    max-width: 450px;
    height: 550px;
    object-fit: cover;
    border-radius: 20px 100px 20px 100px;
    box-shadow: -15px 15px 0px var(--accent-color);
}

/* ================== Áreas de Atuação (Cards) ================== */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.area-card {
    background: #FFF;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-bottom: 4px solid transparent;
    transition: var(--transition);
}

.area-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(138, 154, 91, 0.1);
}

.area-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}
.area-card h3 { font-size: 1.3rem; margin-bottom: 10px; }

/* ================== Timeline CV ================== */
.cv-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    padding-left: 40px;
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    z-index: 2;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 20px;
    bottom: -40px;
    width: 2px;
    background: var(--accent-color);
    z-index: 1;
}
.timeline-item:last-child::after { display: none; }

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.timeline-item h4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}
.timeline-item .inst {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: inline-block;
}

/* ================== Footer ================== */
.footer {
    background: var(--secondary-color);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
    border-top: 5px solid var(--primary-color);
}
.footer h3 { color: #FFF; margin-bottom: 20px; }
.footer p { font-size: 0.95rem; margin-bottom: 10px; }
.footer-logo { font-size: 1.8rem; font-weight: 600; color:#fff; display:block; padding-bottom: 10px;}

/* ================== WhatsApp Float ================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

/* ================== Animations ================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================== Media Queries ================== */
@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 1000;
    }
    .nav.active { right: 0; }
    .nav-list { flex-direction: column; text-align: center; font-size: 1.5rem; gap: 30px; }
    .mobile-menu-btn { display: flex; z-index: 1002; }
    .btn-nav { display: none; }
    .hero-image-wrapper { justify-content: center; margin-top: 30px; }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-image { border-radius: 20px; box-shadow: none; max-height: 400px;}
    .hero h1 { font-size: 2.5rem; }
    .hero-content { align-items: center; display: flex; flex-direction: column; }
}
