/*
Theme Name: Dra. Eunice Nóbrega
Theme URI: https://euniceportela.com
Author: Ilsondev
Description: Tema profissional e elegante para a Dra. Eunice Nóbrega, psicanalista com pós-doutorado.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eunice-nobrega
Tags: blog, one-column, custom-menu, featured-images, translation-ready
*/

/* Importação de fontes */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* Variáveis de cores e estilos */
:root {
    --primary-color: #734f96; /* Tons de violeta/lavanda - transmite sabedoria e calma */
    --secondary-color: #a67fbc;
    --accent-color: #f5b553; /* Dourado suave para detalhes */
    --text-color: #333;
    --light-text: #666;
    --lightest-text: #999;
    --background-color: #fff;
    --light-bg: #f8f5fc;
    --border-color: #e6e0ed;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
    --box-shadow: 0 5px 20px rgba(115, 79, 150, 0.1);
}

/* Estilos básicos */
body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Botões */
.btn {
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(115, 79, 150, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-light {
    background-color: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.btn-light:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-link:hover {
    color: var(--secondary-color);
}

.btn-link:hover i {
    transform: translateX(3px);
}

.btn-read-more {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-read-more i {
    margin-left: 5px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-read-more:hover {
    color: var(--secondary-color);
}

.btn-read-more:hover i {
    transform: translateX(3px);
}

/* Cabeçalho */
.top-header {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 14px;
}

.top-header .contact-info {
    display: flex;
}

.top-header .contact-info span {
    margin-right: 15px;
}

.social-icons {
    text-align: right;
}

.social-link {
    color: #fff;
    margin-left: 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--accent-color);
}

.main-header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 28px;
    margin: 0;
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.main-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-menu li {
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item > a {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background-color: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav li {
    margin-bottom: 10px;
}

.mobile-nav a {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 8px 0;
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.hero-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 30px;
    background-color: rgba(115, 79, 150, 0.8);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: var(--box-shadow);
}

.hero-content h1 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 20px;
}

.hero-content .lead {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 10px;
}

/* Seções */
.section-heading {
    margin-bottom: 30px;
}

.section-heading .subtitle {
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.section-heading h2 {
    margin-bottom: 15px;
    position: relative;
    font-size: 36px;
}

.divider {
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 15px;
}

/* About Section */
.about-image {
    position: relative;
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.qualification-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background-color: var(--light-bg);
    border-radius: 8px;
    height: 100%;
}

.qualification-item i {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.qualification-item h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.qualification-item p {
    font-size: 14px;
    color: var(--light-text);
    margin: 0;
}

/* Services Section */
.service-card {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(115, 79, 150, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    background-color: var(--light-bg);
    border-radius: 50%;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 28px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.service-card h4 {
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonial-card {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-content {
    position: relative;
}

.rating {
    color: #ffc107;
    font-size: 14px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blog Section */
.blog-card {
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    background-color: #fff;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(115, 79, 150, 0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.post-date {
    position: absolute;
    left: 20px;
    bottom: -20px;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.post-date .day {
    font-size: 20px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.post-date .month {
    font-size: 14px;
    text-transform: uppercase;
}

.blog-content {
    padding: 30px 20px 20px;
}

.blog-content h4 {
    margin-bottom: 15px;
    font-size: 20px;
}

.blog-content h4 a {
    color: var(--primary-color);
}

.blog-content h4 a:hover {
    color: var(--secondary-color);
}

.post-meta {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 10px;
}

.post-meta i {
    color: var(--secondary-color);
}

.post-meta a {
    color: var(--light-text);
}

.post-meta a:hover {
    color: var(--primary-color);
}

/* Contact Section */
.contact-info {
    /* background-color: #fff; */
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    text-align: center;
    background-color: var(--light-bg);
    border-radius: 50%;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 10px rgba(115, 79, 150, 0.1);
}

.contact-item .content {
    flex: 1;
}

.contact-item .content h5 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 18px;
}

.contact-item .content p {
    margin: 0;
    color: var(--light-text);
    font-size: 16px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links .social-link {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links .social-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.contact-form-wrapper {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    height: auto;
    font-size: 16px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(115, 79, 150, 0.25);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer-widgets {
    background-color: #2c1a4a;
    color: rgba(255, 255, 255, 0.8);
}

.footer-title {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent-color);
    color: #2c1a4a;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.contact-info li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--accent-color);
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .input-group {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    overflow: hidden;
}

.btn-subscribe {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #2c1a4a;
    font-weight: 600;
}

.btn-subscribe:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--primary-color);
}

.copyright {
    background-color: #231639;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.copyright a {
    color: var(--accent-color);
}

.copyright a:hover {
    color: #fff;
}

/* Blog Posts */
.blog-header {
    background-color: var(--light-bg);
    padding: 60px 0;
    text-align: center;
}

.blog-header .page-title {
    margin-bottom: 10px;
}

.blog-post {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.blog-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.blog-post .entry-title {
    font-size: 26px;
    margin-bottom: 15px;
}

.blog-post .entry-title a {
    color: var(--primary-color);
}

.blog-post .entry-title a:hover {
    color: var(--secondary-color);
}

.blog-post .post-thumbnail {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
}

.blog-post .post-thumbnail img {
    transition: transform 0.5s ease;
}

.blog-post .post-thumbnail img:hover {
    transform: scale(1.03);
}

.single-post .entry-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content blockquote {
    padding: 20px 30px;
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    margin: 30px 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.post-navigation {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.post-navigation h5 {
    margin: 5px 0 0;
    font-size: 18px;
}

.post-navigation span {
    color: var(--light-text);
    font-size: 14px;
}

.author-bio {
    background-color: var(--light-bg);
    border-radius: 10px;
}

.related-post-card {
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.related-post-image {
    display: block;
    overflow: hidden;
}

.related-post-image img {
    transition: transform 0.5s ease;
}

.related-post-image:hover img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 15px;
}

.related-post-content h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.related-post-content .post-date {
    position: static;
    background: none;
    color: var(--light-text);
    font-size: 14px;
    padding: 0;
    box-shadow: none;
}

/* Comments */
.comments-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.comment-list {
    list-style: none;
    padding-left: 0;
}

.comment-list ol {
    list-style: none;
    padding-left: 30px;
}

.comment-author .avatar {
    float: left;
    margin-right: 15px;
}

.comment-metadata {
    font-size: 14px;
    color: var(--light-text);
}

.comment-content {
    clear: both;
    margin-top: 15px;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 15px;
}

.form-submit {
    margin-top: 20px;
}

.reply-link {
    color: var(--primary-color);
    font-weight: 500;
}

/* Sidebar */
.widget-area {
    position: sticky;
    top: 30px;
}

.sidebar-inner {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.widget {
    margin-bottom: 30px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    position: relative;
    margin-bottom: 20px;
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-bg);
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--text-color);
    transition: all 0.3s ease;
}

.widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.recent-posts li {
    display: flex;
    flex-direction: column;
}

.recent-posts a {
    font-weight: 500;
    margin-bottom: 5px;
}

.post-date {
    font-size: 12px;
    color: var(--light-text);
}

.widget.categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget.categories .count {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.tagcloud {
    display: flex;
    flex-wrap: wrap;
}

.tag-link {
    display: inline-block;
    background-color: var(--light-bg);
    color: var(--text-color);
    padding: 5px 12px;
    margin: 0 5px 8px 0;
    font-size: 12px !important;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Pagination */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 4px;
    justify-content: center;
    margin-top: 30px;
}

.page-numbers {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
}

.page-numbers.current {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.page-numbers:not(.current):hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.page-numbers.dots {
    border: none;
}

.page-numbers.next,
.page-numbers.prev {
    font-size: 14px;
}

/* Search Form */
.search-form {
    position: relative;
}

.search-form .search-field {
    border-radius: 30px;
    padding-right: 50px;
}

.search-form .search-submit {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    border-radius: 0 30px 30px 0;
    padding: 0 20px;
}

/* Error 404 Page */
.error-page {
    padding: 80px 0;
}

.error-title {
    font-size: 120px;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0 var(--border-color);
}

/* Table of Contents Styles */
.post-toc {
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

.toc-title {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.toc-title:after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -5px;
    left: 0;
}

.toc-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.toc-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.toc-list li a {
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
    border-bottom: 1px dashed var(--border-color);
}

.toc-list li a:hover {
    color: var(--primary-color);
}

.toc-list .toc-list {
    padding-left: 20px;
    margin-top: 10px;
}

.toc-list .toc-list li a {
    font-weight: 400;
}

.reading-time {
    display: inline-flex;
    align-items: center;
    color: var(--light-text);
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-slide {
        height: 70vh;
    }
}

@media (max-width: 991.98px) {
    .hero-slide {
        height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section-heading h2 {
        font-size: 30px;
    }
}

@media (max-width: 767.98px) {
    .top-header .contact-info,
    .social-icons {
        text-align: center;
        justify-content: center;
        margin-bottom: 5px;
    }
    
    .hero-slide {
        height: 50vh;
        min-height: 450px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content .lead {
        font-size: 16px;
    }
    
    .section-heading h2 {
        font-size: 26px;
    }
    
    .error-title {
        font-size: 80px;
    }
}

@media (max-width: 575.98px) {
    .hero-slide {
        height: auto;
        min-height: 400px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .section-heading h2 {
        font-size: 22px;
    }
    
    .error-title {
        font-size: 60px;
    }
}