/**
 * Feng Shui Academy - Custom Frontend Styles
 * Design System: "Feng Shui Harmony"
 *
 * Primary: Dark Navy (#0d1f45) - Confiança, profundidade
 * Secondary: Amber/Gold (#FDA31B) - Prosperidade, energia
 * Accent: Teal (#116E63) - Harmonia, equilíbrio
 */

:root {
    /* Primary Brand Colors - Feng Shui Academy */
    --theme-color: #0d1f45;         /* Dark Navy: Confiança, profundidade, sabedoria */
    --theme-color2: #FDA31B;        /* Amber/Gold: Prosperidade, energia */
    --theme-color-accent: #116E63;  /* Teal: Harmonia, equilíbrio */
    --theme-color-light: rgba(13, 31, 69, 0.08);

    /* Background Colors */
    --theme-bg-light: #f8fafc;      /* Slate-50 */
    --color-dark: #0d1f45;          /* Dark Navy */

    /* Text Colors */
    --body-text-color: #64748b;     /* Slate-500 */

    /* Footer Colors - Dark Navy Theme */
    --footer-bg: #0a1832;           /* Darker navy */
    --footer-bg2: #0d1f45;          /* Dark Navy */
    --footer-text-color: #f1f5f9;   /* Slate-100 */

    /* Borders */
    --border-info-color: rgba(13, 31, 69, 0.12);
    --border-info-color2: rgba(13, 31, 69, 0.06);

    /* Shadows */
    --box-shadow: 0 4px 24px -4px rgba(13, 31, 69, 0.08);
    --box-shadow2: 0 2px 12px rgba(13, 31, 69, 0.12);
}

/* ============================================
   Typography Enhancements
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.025em;
}

.fw-bold {
    letter-spacing: -0.02em;
}

/* ============================================
   Button Enhancements
   ============================================ */

.theme-btn {
    border-radius: 0.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: all 0.2s ease;
}

.theme-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 31, 69, 0.3);
}

.theme-btn2 {
    border-radius: 0.5rem;
    font-weight: 500;
}

/* ============================================
   Card Enhancements
   ============================================ */

.course-card,
.team-card,
.blog-card {
    border: 1px solid rgba(13, 31, 69, 0.1);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.course-card:hover,
.team-card:hover,
.blog-card:hover {
    border-color: rgba(13, 31, 69, 0.2);
    box-shadow: 0 8px 24px -8px rgba(13, 31, 69, 0.12);
}

/* ============================================
   Navigation Enhancements
   ============================================ */

.header-nav .nav-link {
    font-weight: 500;
    letter-spacing: -0.01em;
}

.header-nav .nav-link:hover,
.header-nav .nav-link.active {
    color: var(--theme-color) !important;
}

/* ============================================
   Section Headings
   ============================================ */

.site-heading h2,
.site-heading .site-title {
    letter-spacing: -0.03em;
    color: var(--color-dark);
}

.site-heading .sub-title {
    color: var(--theme-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

/* Heading White - for dark backgrounds */
.site-heading.heading-white .sub-title {
    color: var(--theme-color2);
}

.site-heading.heading-white .site-title {
    color: #fff;
}

.site-heading.heading-white .site-title span {
    color: var(--theme-color2);
}

.site-heading.heading-white .site-description {
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   Hero/Slider Section
   ============================================ */

.hero-slider .hero-content h1 {
    letter-spacing: -0.03em;
}

.hero-slider .hero-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Counter/Stats Section
   ============================================ */

.counter-box .counter {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* ============================================
   Testimonial Section
   ============================================ */

.testimonial-card {
    border: 1px solid rgba(13, 31, 69, 0.1);
    border-radius: 0.75rem;
}

.testimonial-card .quote-icon {
    color: var(--theme-color);
    opacity: 0.2;
}

/* ============================================
   Footer Enhancements
   ============================================ */

.footer-area {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-widget-title {
    letter-spacing: -0.02em;
    color: #fff;
}

.footer-list li a:hover {
    color: var(--theme-color) !important;
}

/* ============================================
   Newsletter Form
   ============================================ */

.newsletter-form input {
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    border-radius: 0.5rem;
}

/* ============================================
   Scroll to Top Button
   ============================================ */

.scroll-top {
    background: var(--theme-color);
    border-radius: 0.5rem;
}

.scroll-top:hover {
    background: var(--theme-color2);
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 991.98px) {
    .mobile-menu-btn {
        color: var(--color-dark);
    }
}

/* ============================================
   Preloader - Feng Shui Themed
   ============================================ */

.preloader {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.preloader-logo {
    max-width: 180px;
    height: auto;
    animation: preloader-pulse 1.5s ease-in-out infinite;
}

@keyframes preloader-pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   Form Elements
   ============================================ */

.form-control:focus,
.form-select:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(13, 31, 69, 0.1);
}

/* ============================================
   Utilities
   ============================================ */

.py-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.py-80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* ============================================
   Breadcrumb
   ============================================ */

.site-breadcrumb {
    background: linear-gradient(135deg, #0d1f45 0%, #0a1832 100%);
    padding-top: 120px;
    padding-bottom: 80px;
}

@media (max-width: 991px) {
    .site-breadcrumb {
        padding-top: 160px;
        padding-bottom: 60px;
    }
}

.breadcrumb-item a:hover {
    color: var(--theme-color) !important;
}

/* ============================================
   Page Hero
   ============================================ */

.page-hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 60px;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    z-index: 1;
}

.page-hero::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(10, 24, 50, 0.65);
    z-index: -1;
}

.page-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.page-breadcrumb li {
    color: rgba(255, 255, 255, 0.6);
}

.page-breadcrumb li a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.page-breadcrumb li a:hover {
    color: var(--theme-color2);
}

.page-breadcrumb li + li::before {
    content: '/';
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.4);
}

.page-breadcrumb li.active {
    color: var(--theme-color2);
}

.page-hero-title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.page-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

@media (max-width: 991px) {
    .page-hero {
        padding-top: 160px;
        padding-bottom: 40px;
    }

    .page-hero-title {
        font-size: 28px;
    }
}

/* ============================================
   Page Content
   ============================================ */

.page-body {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
}

.page-body p {
    margin-bottom: 5px;
}

/* ============================================
   Course/Webinar Cards - Enhanced
   ============================================ */

.course-img-link {
    position: static !important;
    display: block;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: none !important;
    text-align: left !important;
    line-height: normal !important;
    border-radius: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    margin: 0 !important;
    z-index: auto !important;
}

.course-content .course-tag {
    position: relative;
    right: auto;
    top: auto;
    display: inline-block;
    margin-bottom: 8px;
}

.course-content .course-category {
    background: var(--theme-color);
    color: #fff;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.course-content .course-title {
    letter-spacing: -0.02em;
}

.course-content .course-price {
    color: var(--theme-color);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ============================================
   Teacher/Professor Cards
   ============================================ */

.team-img {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    border-radius: 50px 50px 50px 0;
}

.team-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.team-content .team-role {
    display: block;
    font-size: 0.8rem;
    color: var(--body-text-color);
    margin-bottom: 2px;
}

.team-content .team-name {
    letter-spacing: -0.02em;
}

.team-bio h1,
.team-bio h2,
.team-bio h3,
.team-bio h4,
.team-bio h5,
.team-bio h6 {
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    line-height: inherit;
    color: inherit;
    text-transform: none;
    margin-bottom: 0;
}

.team-bio b,
.team-bio strong {
    font-weight: 400;
}

.team-social a:hover {
    background: var(--theme-color);
    color: #fff;
}

/* ============================================
   Popup/Modal - Newsletter
   ============================================ */

.modal-content {
    border-radius: 0.75rem;
    border: none;
}

.modal-header {
    border-bottom-color: rgba(13, 31, 69, 0.1);
}

.modal-footer {
    border-top-color: rgba(13, 31, 69, 0.1);
}

/* ============================================
   Dropdown Submenu Enhancements
   ============================================ */

/* Active state for dropdown items */
.navbar .nav-item .dropdown-menu .dropdown-item.active {
    color: var(--theme-color2);
    background: transparent;
}

/* ============================================
   Course Single - Tabs
   ============================================ */

.course-tabs.nav-tabs {
    border-bottom: 2px solid #eee;
    margin-bottom: 0;
}

.course-tabs.nav-tabs .nav-link {
    color: var(--body-text-color);
    font-weight: 500;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    background: transparent;
    transition: all 0.3s ease;
}

.course-tabs.nav-tabs .nav-link:hover {
    color: var(--theme-color);
    border-bottom-color: var(--theme-color2);
}

.course-tabs.nav-tabs .nav-link.active {
    color: var(--theme-color);
    border-bottom-color: var(--theme-color2);
    background: transparent;
}

/* Course banner - reduced height */
.course-single-banner.site-breadcrumb {
    padding-top: 120px;
    padding-bottom: 80px;
}

@media (max-width: 991px) {
    .course-single-banner.site-breadcrumb {
        padding-top: 180px;
        padding-bottom: 60px;
    }
}

/* Course single sidebar sticky */
.course-single-sidebar {
    position: sticky;
    top: 100px;
}

/* Course single list (requirements checklist) */
.course-single-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-single-list li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--body-text-color);
}

.course-single-list li i {
    color: var(--theme-color2);
    margin-top: 4px;
}

/* ============================================
   Blog Single Page Enhancements
   ============================================ */

.blog-single-title {
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.blog-single-content .blog-meta {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(13, 31, 69, 0.08);
    gap: 1.5rem;
}

.blog-single-content .blog-meta span {
    color: var(--body-text-color);
    font-size: 0.9rem;
}

.blog-single-content .lead {
    margin-bottom: 2rem;
    color: var(--body-text-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

.blog-content {
    line-height: 1.8;
}

.blog-content p {
    margin-bottom: 1.25rem;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ============================================
   Blog Sidebar Enhancements
   ============================================ */

.blog-sidebar .widget .recent-post-img img {
    width: 80px;
    height: 60px;
    object-fit: cover;
}

.blog-sidebar .widget .recent-post-single {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(13, 31, 69, 0.06);
}

.blog-sidebar .widget .recent-post-single:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.blog-sidebar .widget .recent-post-bio h6 {
    font-size: 15px;
    line-height: 1.4;
}

/* ============================================
   Blog Cards - Uniform Layout
   ============================================ */

/* Container row com stretch para igualar alturas */
.blog-area .row,
.blog-section .row {
    align-items: stretch;
}

/* Card com flexbox para distribuir conteúdo */
.blog-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Imagem com aspect ratio fixo (3:2) */
.blog-item-img {
    aspect-ratio: 3 / 2;
}

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

/* Info section cresce para preencher espaço */
.blog-item-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Título com limite de 2 linhas */
.blog-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

/* Excerpt com limite de 3 linhas */
.blog-excerpt,
.blog-item-info p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Botão sempre no final */
.blog-item-info .theme-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ============================================
   Product Cards - Shop Page
   ============================================ */

/* Container row com stretch para igualar alturas */
.course-area .row {
    align-items: stretch;
}

/* Column spacing */
.course-area .row > [class*="col-"] {
    margin-bottom: 30px;
}

/* Card com altura uniforme */
.course-area .course-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Imagem com aspect ratio fixo */
.course-area .course-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.course-area .course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Conteúdo com flexbox para distribuir espaço */
.course-area .course-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-top: 20px;
}

/* Título com limite de 2 linhas */
.course-area .course-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    margin-bottom: 10px;
}

/* Texto com limite de 3 linhas */
.course-area .course-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    margin-bottom: 15px;
}

/* Bottom section sempre no final */
.course-area .course-bottom {
    margin-top: auto;
}

/* Botão de adicionar ao carrinho */
.course-area .course-content > form {
    margin-top: 15px;
}

/* ============================================
   Course Detail Page - Content Spacing
   (Similar to .blog-content styling)
   ============================================ */

.course-details .course-content {
    line-height: 1.8;
}

.course-details .course-content p {
    margin-bottom: 1.25rem;
}

.course-details .course-content h1,
.course-details .course-content h2,
.course-details .course-content h3,
.course-details .course-content h4,
.course-details .course-content h5,
.course-details .course-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.course-details .course-content ul,
.course-details .course-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

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

/* ============================================
   Course/Webinar Cards - Fully Clickable
   ============================================ */

/* Make entire card clickable */
.course-item {
    position: relative;
}

.course-item-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Add hover effect to entire card */
.course-item:hover {
    cursor: pointer;
}

.course-item:hover .course-img img {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

.course-item .course-img img {
    transition: transform 0.3s ease;
}

/* Webinar/Event cards - Fully Clickable */
.event-item {
    position: relative;
}

.event-item-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.event-item:hover {
    cursor: pointer;
}

.event-item:hover .event-img img {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

.event-item .event-img img {
    transition: transform 0.3s ease;
}

/* Blog cards - Fully Clickable */
.blog-item {
    position: relative;
}

.blog-item-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.blog-item:hover {
    cursor: pointer;
}

.blog-item:hover .blog-item-img img {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

.blog-item .blog-item-img img {
    transition: transform 0.3s ease;
}

/* Product card - Keep "Add to Cart" clickable above card link */
.course-item .add-to-cart-form {
    position: relative;
    z-index: 2;
}

/* ============================================
   Checkout Page - Sidebar Styling
   ============================================ */

.checkout-sidebar-box {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(13, 31, 69, 0.08);
    border: 1px solid rgba(13, 31, 69, 0.08);
}

.checkout-sidebar-box .summary-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(13, 31, 69, 0.1);
}

/* Sticky sidebar on desktop */
@media (min-width: 992px) {
    .col-lg-4 > .checkout-sidebar-box:first-child,
    .col-lg-4 > .order-summary {
        position: sticky;
        top: 100px;
    }

    .checkout-area .col-lg-4 {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .checkout-area .col-lg-4 > * {
        position: static !important;
    }
}

/* ============================================
   Customer Account Area
   ============================================ */

.account-area {
    background: var(--theme-bg-light);
    min-height: 60vh;
}

/* Account Sidebar */
.account-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(13, 31, 69, 0.08);
    border: 1px solid rgba(13, 31, 69, 0.08);
}

.account-user-info {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(13, 31, 69, 0.1);
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: var(--theme-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto 15px;
}

.account-user-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.account-nav {
    margin-top: 20px;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--body-text-color);
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    font-weight: 500;
}

.account-nav-link:hover {
    background: var(--theme-color-light);
    color: var(--theme-color);
}

.account-nav-link.active {
    background: var(--theme-color);
    color: #fff;
}

.account-nav-link i {
    width: 20px;
    text-align: center;
}

/* Account Content */
.account-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(13, 31, 69, 0.08);
    border: 1px solid rgba(13, 31, 69, 0.08);
}

/* Account Cards (Dashboard) */
.account-card {
    background: var(--theme-bg-light);
    border-radius: 8px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.account-card-icon {
    width: 60px;
    height: 60px;
    background: var(--theme-color);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.account-card-content h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.account-card-content p {
    margin: 0;
    color: var(--body-text-color);
    font-size: 14px;
}

/* Quick Links */
.quick-link-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--theme-bg-light);
    border-radius: 8px;
    color: var(--color-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-link-card:hover {
    background: var(--theme-color);
    color: #fff;
}

.quick-link-card i {
    font-size: 20px;
}

/* Order Info Cards */
.order-info-card {
    background: var(--theme-bg-light);
    border-radius: 8px;
    padding: 20px;
}

.order-info-card h5 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.order-info-card ul li {
    padding: 5px 0;
    font-size: 14px;
}

.order-items-card {
    margin-top: 30px;
}

.order-items-card h5 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

/* Profile Sections */
.profile-section {
    padding: 25px;
    background: var(--theme-bg-light);
    border-radius: 8px;
}

.profile-section h5 {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
}

/* Orders Table */
.orders-table .table {
    margin: 0;
}

.orders-table .table th {
    border-top: none;
    font-weight: 600;
    color: var(--color-dark);
}

/* Responsive */
@media (max-width: 991px) {
    .account-sidebar {
        margin-bottom: 30px;
    }

    .account-content {
        padding: 20px;
    }
}

/* ============================================
   Video Cards - Play Overlay & Duration Badge
   ============================================ */

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(13, 31, 69, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    z-index: 1;
    transition: all 0.3s ease;
}

.blog-item:hover .video-play-overlay {
    background: var(--theme-color2);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    z-index: 1;
}

/* Video Embed Responsive */
.video-embed-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 30px 30px 30px 0;
    background: #000;
    margin-bottom: 25px;
}

.video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   I Ching - Consulta & Resposta
   ============================================ */

.i-ching-form-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(13, 31, 69, 0.08);
    border: 1px solid rgba(13, 31, 69, 0.08);
}

.i-ching-response {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(13, 31, 69, 0.08);
    border: 1px solid rgba(13, 31, 69, 0.08);
}

.i-ching-info {
    padding: 20px;
    background: var(--theme-bg-light);
    border-radius: 6px;
    line-height: 1.8;
}

.i-ching-info p {
    margin-bottom: 0;
}

.i-ching-card {
    display: block;
    width: 100%;
    border-radius: 8px;
    margin: 25px 0;
}

.i-ching-descricao {
    line-height: 1.8;
    color: #475569;
    font-size: 16px;
}

.i-ching-btns {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ============================================
   I Ching - Oráculo Detalhado
   ============================================ */

.i-ching-oracle {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.i-ching-oracle-main {
    flex: 1;
    min-width: 0;
}

.i-ching-oracle-aside {
    width: 280px;
    flex-shrink: 0;
}

.oracle-items {
    border-top: 1px solid rgba(13, 31, 69, 0.1);
}

.oracle-item {
    display: flex;
    padding: 18px 0;
    border-bottom: 1px solid rgba(13, 31, 69, 0.1);
    line-height: 1.6;
}

.oracle-label {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.03em;
    color: var(--theme-color);
    width: 120px;
    min-width: 120px;
    margin-right: 20px;
    padding-top: 2px;
}

.oracle-text {
    flex: 1;
    color: #475569;
}

.oracle-aside-content {
    background: var(--theme-bg-light);
    border-radius: 8px;
    padding: 25px;
    position: sticky;
    top: 100px;
}

.oracle-aside-content h5 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.oracle-aside-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

@media (max-width: 991.98px) {
    .i-ching-oracle {
        flex-direction: column;
    }

    .i-ching-oracle-aside {
        width: 100%;
        margin-top: 40px;
    }

    .oracle-item {
        flex-direction: column;
        gap: 5px;
    }

    .oracle-label {
        width: auto;
        min-width: auto;
        margin-right: 0;
    }
}

/* ============================================
   Four Pillars Calculator
   ============================================ */

.four-pillars:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.four-pillars .fp-form,
.four-pillars .fp-results {
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
}

.four-pillars .fp-form h2,
.four-pillars .fp-form h4,
.four-pillars .fp-results h2,
.four-pillars .fp-results h4 {
    text-align: center;
}

/* --- Form --- */

.four-pillars .fp-form .linha:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.four-pillars .fp-form .linha:nth-child(n+3) {
    margin-top: 15px;
}

.four-pillars .fp-form .linha label {
    display: block;
    line-height: 20px;
    padding: 5px 0;
}

@media (min-width: 768px) {
    .four-pillars .fp-form .linha label {
        float: left;
        width: 25%;
        text-align: right;
    }
    .four-pillars .fp-form .linha .campo-wrap {
        float: right;
        width: 72%;
    }
}

.four-pillars .fp-form .linha .campo-wrap .campo {
    display: block;
    width: 100%;
    line-height: 28px;
    height: 30px;
    border: 1px solid #dadada;
    padding: 0 15px;
    box-sizing: border-box;
    font-size: 14px;
    color: #8f8f8f;
    font-family: inherit;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.four-pillars .fp-form .linha .campo-wrap .campo:hover {
    border-color: #7e9e00;
}

.four-pillars .fp-form .linha .campo-wrap.data:after,
.four-pillars .fp-form .linha .campo-wrap.hora:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.four-pillars .fp-form .linha .campo-wrap.data .campo {
    float: left;
    width: 31.333%;
}

.four-pillars .fp-form .linha .campo-wrap.hora .campo {
    float: left;
    width: 75px;
}

.four-pillars .fp-form .linha .campo-wrap.data .campo:nth-child(n+2),
.four-pillars .fp-form .linha .campo-wrap.hora .campo:nth-child(n+2) {
    margin-left: 3%;
}

.four-pillars .fp-form .linha .campo-wrap .nota {
    display: block;
    width: 100%;
    font-size: 11px;
    padding-top: 10px;
    clear: both;
}

.four-pillars select {
    background-color: #fff;
}

.four-pillars .fp-form .linha input::placeholder {
    color: #ccc;
}

/* --- Results --- */

.fp-results {
    display: none;
    text-align: center;
}

.four-pillars .fp-results:not(.mostrar-troncos) .troncos {
    display: none;
}

.fp-dados-pessoais {
    text-align: center;
    line-height: 1.5;
}

.four-pillars .fp-results .fp:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.four-pillars .fp-results .fp .linha:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.four-pillars .fp-results .fp .linha:first-child {
    font-weight: 700;
    margin-bottom: 5px;
}

.four-pillars .fp-results .fp .linha .col {
    float: left;
    width: 24.25%;
    text-align: center;
}

.four-pillars .fp-results .fp .linha .col:nth-child(n+2) {
    margin-left: 1%;
}

.four-pillars .fp-results .fp .linha .col div {
    padding: 5px 10px;
    box-sizing: border-box;
    line-height: 1.5;
}

.four-pillars .fp-results .fp .linha .col div .symb {
    display: block;
    font-size: 36px;
}

/* --- Hidden Stems (Troncos) --- */

.troncos .col {
    display: flex;
    justify-content: center;
}

.four-pillars .fp-results .fp .linha.troncos .col div .symb {
    font-size: 20px;
    padding: 0 4px;
}

.four-pillars .fp-results .fp .linha.troncos .col div {
    padding: 0;
}

/* --- Destiny Periods --- */

.four-pillars .fp-results .elp:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.four-pillars .fp-results .elp div {
    float: left;
    width: 25%;
    padding: 5px 10px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.5;
}

.four-pillars .fp-results .elp div:nth-child(4n+1) {
    clear: both;
    margin-left: 0;
}

.four-pillars .fp-results .elp div:nth-child(-n+4) {
    margin-top: 0;
}

.four-pillars .fp-results .elp div .symb {
    display: block;
    font-size: 36px;
}

/* Destiny Periods: Table Borders */

.elp > div {
    border-style: solid;
    border-color: #dadada;
    border-width: 0;
}

.elp > div {
    border-right-width: 1px;
}

.elp > div:nth-child(4n+1) {
    border-left-width: 1px;
}

.elp > div:nth-child(-n+4),
.elp > div:nth-child(17),
.elp > div:nth-child(18),
.elp > div:nth-child(19),
.elp > div:nth-child(20) {
    border-top-width: 1px;
}

.elp > div:nth-child(17),
.elp > div:nth-child(18),
.elp > div:nth-child(19),
.elp > div:nth-child(20) {
    margin-top: 15px;
}

.elp > div:nth-child(5),
.elp > div:nth-child(6),
.elp > div:nth-child(7),
.elp > div:nth-child(8),
.elp > div:nth-child(13),
.elp > div:nth-child(14),
.elp > div:nth-child(15),
.elp > div:nth-child(16),
.elp > div:nth-child(21),
.elp > div:nth-child(22),
.elp > div:nth-child(23),
.elp > div:nth-child(24),
.elp > div:nth-child(29),
.elp > div:nth-child(30),
.elp > div:nth-child(31),
.elp > div:nth-child(32) {
    border-bottom-width: 1px;
}

.elp > div:nth-child(1),
.elp > div:nth-child(2),
.elp > div:nth-child(3),
.elp > div:nth-child(4),
.elp > div:nth-child(9),
.elp > div:nth-child(10),
.elp > div:nth-child(11),
.elp > div:nth-child(12),
.elp > div:nth-child(17),
.elp > div:nth-child(18),
.elp > div:nth-child(19),
.elp > div:nth-child(20),
.elp > div:nth-child(25),
.elp > div:nth-child(26),
.elp > div:nth-child(27),
.elp > div:nth-child(28) {
    font-weight: 700;
}

/* Age Highlight */

.idade {
    background-color: #f0f0f0;
}

/* --- Element Colors --- */

.mostrar-cores .agua { color: #0f5e9c; }
.mostrar-cores .agua-light { color: #538bcd; }
.mostrar-cores .madeira { color: #6db33f; }
.mostrar-cores .madeira-light { color: #9fe66e; }
.mostrar-cores .fogo { color: #800909; }
.mostrar-cores .fogo-light { color: #b64131; }
.mostrar-cores .terra { color: #451b04; }
.mostrar-cores .terra-light { color: #74432d; }
.mostrar-cores .metal { color: #bcc6cc; }
.mostrar-cores .metal-light { color: #d7e1e7; }

/* --- Designations --- */

.four-pillars .fp-results [class^="des-"] { display: none; }
.four-pillars .fp-results.designacoes-en .des-en { display: block; }
.four-pillars .fp-results.designacoes-cn .des-cn { display: block; }
.four-pillars .fp-results .fp .linha:nth-child(n+4) [class^="des-"] { display: none; }

/* --- Options --- */

.fp-opcoes {
    margin-top: 20px;
}

.fp-opcao {
    display: flex;
    align-items: center;
}

.fp-opcao:nth-child(n+2) {
    margin-top: 15px;
}

.fp-opcao .nome-campo,
.fp-opcao label span {
    color: #8f8f8f;
}

.fp-opcao .nome-campo {
    font-weight: 700;
}

.fp-opcao label {
    margin-left: 10px;
    cursor: pointer;
}

.fp-opcao label:hover span {
    color: #6a8500;
}

.fp-opcao label:nth-child(2) {
    margin-left: 15px;
}

.fp-opcao label input {
    display: none;
}

.fp-opcao label input:checked + span {
    font-weight: 700;
    color: #6a8500;
}

/* --- Responsive --- */

@media (max-width: 767.98px) {
    .four-pillars .fp-form,
    .four-pillars .fp-results {
        float: none;
        width: 100%;
    }

    .four-pillars .fp-results {
        margin-top: 50px;
    }

    .four-pillars .fp-results .elp div {
        padding: 5px;
    }

    .four-pillars .fp-results .fp .linha .col div .symb {
        font-size: 24px;
    }

    .four-pillars .fp-results .elp div .symb {
        font-size: 16px;
    }

    .four-pillars .fp-results .fp .linha.troncos .col div .symb {
        font-size: 13px;
    }

    .four-pillars .fp-results .elp div span:not(.symb),
    .four-pillars .fp-results .fp .linha .col div span:not(.symb) {
        font-size: 12px;
    }

    .four-pillars .fp-results .fp .linha .col div {
        padding: 5px;
    }

    .four-pillars h4 {
        margin-bottom: 10px;
    }

    .four-pillars .fp-results .fp .linha .col div,
    .four-pillars .fp-results .elp div {
        line-height: 1.25;
    }
}

/* ============================================
   Contact Page
   ============================================ */

.contact-info-section {
    background: #fff;
}

.contact-subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--body-text-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.contact-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--theme-color-light);
    color: var(--theme-color);
    font-size: 1rem;
}

.contact-detail-content h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.contact-detail-content p {
    font-size: 0.9rem;
    color: var(--body-text-color);
    margin-bottom: 0.15rem;
    line-height: 1.5;
}

.contact-detail-content a {
    color: var(--body-text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-detail-content a:hover {
    color: var(--theme-color);
}

/* Contact Circular Image */
.contact-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.contact-circular-image {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 40px rgba(13, 31, 69, 0.12);
}

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

.contact-decoration-circle {
    position: absolute;
    top: 20px;
    right: 60px;
    width: 80px;
    height: 80px;
    border: 3px solid var(--theme-color-accent);
    border-radius: 50%;
    opacity: 0.5;
    z-index: 1;
    border-left-color: transparent;
    border-bottom-color: transparent;
}

.contact-decoration-dots {
    position: absolute;
    bottom: 30px;
    right: 40px;
    width: 60px;
    height: 60px;
    z-index: 1;
    background-image: radial-gradient(var(--theme-color-accent) 2px, transparent 2px);
    background-size: 10px 10px;
    opacity: 0.4;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--theme-bg-light);
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-dark);
}

.contact-input-group {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-input-group:focus-within {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(13, 31, 69, 0.1);
}

.contact-input-group .input-group-text {
    background: transparent;
    border: none;
    color: var(--body-text-color);
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
}

.contact-input-group .form-control,
.contact-input-group .form-select {
    border: none;
    box-shadow: none;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
}

.contact-input-group .form-control:focus,
.contact-input-group .form-select:focus {
    box-shadow: none;
    border: none;
}

.contact-input-group textarea.form-control {
    min-height: 120px;
}

.contact-form .form-check-label {
    font-size: 0.9rem;
    color: var(--body-text-color);
}

.contact-form .form-check-label a {
    color: var(--theme-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-form .form-check-label a:hover {
    text-decoration: underline;
}

/* Contact Map */
.contact-map-section {
    line-height: 0;
}

.contact-map-section iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-circular-image {
        width: 280px;
        height: 280px;
    }

    .contact-image-wrapper {
        min-height: 320px;
        margin-top: 2rem;
    }

    .contact-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 575px) {
    .contact-circular-image {
        width: 220px;
        height: 220px;
    }

    .contact-image-wrapper {
        min-height: 260px;
    }

    .contact-map-section iframe {
        height: 300px;
    }
}
