/*
Theme Name: RB Value - Consórcio Imobiliário
Theme URI: https://rbvalue.com.br
Author: RB Value
Author URI: https://rbvalue.com.br
Description: Tema WordPress premium para RB Value - Consórcio Imobiliário como Investimento. Design moderno com paleta 60-30-10. Réplica exata do site React.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rbvalue
Tags: one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES (Design System)
   Paleta 60-30-10:
   - 60% base: #1C1C29
   - 30% secundária: #FFFFFF
   - 10% destaque: #FF8503
   ========================================================================== */

:root {
    /* Core Colors */
    --base: #1C1C29;
    --base-light: #2A2A3D;
    --base-lighter: #3A3A50;
    --white: #FFFFFF;
    --highlight: #FF8503;
    --highlight-light: #FF9A33;
    --highlight-dark: #E67600;
    
    /* Functional Colors */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-subtle: rgba(255, 255, 255, 0.4);
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.2);
    
    /* Success/Error */
    --success: #22C55E;
    --error: #EF4444;
    
    /* Gradients */
    --gradient-accent: linear-gradient(135deg, #FF8503 0%, #FF9A33 100%);
    --gradient-card: linear-gradient(145deg, #2A2A3D 0%, #1C1C29 100%);
    
    /* Shadows */
    --shadow-card: 0 4px 20px -4px rgba(28, 28, 41, 0.3);
    --shadow-elegant: 0 10px 40px -10px rgba(28, 28, 41, 0.4);
    --shadow-highlight: 0 8px 32px -8px rgba(255, 133, 3, 0.3);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Container */
    --container-max: 1280px;
    --header-height: 64px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }

.text-highlight {
    color: var(--highlight);
}

.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: 6rem 0;
}

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

.section-header h2 {
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-decoration: none;
    white-space: nowrap;
}

.btn:focus {
    outline: 2px solid var(--highlight);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--base);
    box-shadow: var(--shadow-highlight);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -8px rgba(255, 133, 3, 0.4);
    color: var(--base);
}

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

.btn-secondary:hover {
    background: var(--highlight);
    color: var(--base);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(28, 28, 41, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.site-logo img {
    height: 40px;
    width: 160px;
    object-fit: contain;
}

.main-navigation {
    display: none;
    align-items: center;
    gap: 2rem;
}

.main-navigation a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.main-navigation a:hover {
    color: var(--highlight);
}

@media (min-width: 768px) {
    .main-navigation {
        display: flex;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--base);
    border-top: 1px solid var(--border-color);
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:hover {
    color: var(--highlight);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--base);
    padding-top: calc(var(--header-height) + 2rem);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-badge svg {
    width: 1rem;
    height: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-buttons .btn {
    min-width: 180px;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Trust Indicators */
.trust-indicators {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.trust-indicators p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-stat {
    text-align: center;
}

.trust-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--highlight);
}

.trust-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator-inner {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator-dot {
    width: 4px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ==========================================================================
   BENEFITS SECTION
   ========================================================================== */

.benefits-section {
    padding: 6rem 0;
    background: var(--base);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: var(--base-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elegant);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--base);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-smooth);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--highlight);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.benefits-badge {
    text-align: center;
    margin-top: 4rem;
}

.benefits-badge span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--highlight);
    font-weight: 600;
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */

.how-it-works-section {
    padding: 6rem 0;
    background: var(--base);
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 80px;
    width: 128px;
    height: 128px;
    border: 1px solid var(--highlight);
    border-radius: 50%;
    opacity: 0.05;
}

.how-it-works-section::after {
    content: '';
    position: absolute;
    bottom: 80px;
    right: 80px;
    width: 192px;
    height: 192px;
    border: 1px solid var(--highlight);
    border-radius: 50%;
    opacity: 0.05;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    position: relative;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-smooth);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.15);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--highlight);
    color: var(--base);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.step-icon {
    margin-bottom: 1.5rem;
}

.step-icon svg {
    width: 48px;
    height: 48px;
    color: var(--highlight);
}

.step-card h3 {
    font-size: 1.5rem;
    color: var(--highlight);
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.step-arrow {
    display: none;
    position: absolute;
    top: 50%;
    right: -1rem;
    transform: translateY(-50%);
    color: var(--highlight);
}

@media (min-width: 768px) {
    .step-card:not(:last-child) .step-arrow {
        display: block;
    }
}

.step-arrow svg {
    width: 32px;
    height: 32px;
}

/* CTA Box */
.how-it-works-cta {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 42rem;
    margin: 0 auto;
}

.how-it-works-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.how-it-works-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
    padding: 6rem 0;
    background: var(--base);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    padding: 2rem;
    background: var(--base-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elegant);
}

.testimonial-quote {
    margin-bottom: 1.5rem;
}

.testimonial-quote svg {
    width: 32px;
    height: 32px;
    color: var(--highlight);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    color: var(--highlight);
    fill: var(--highlight);
}

.testimonial-content {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--base);
    font-size: 1.125rem;
    font-weight: 700;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
}

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

/* Stats Bar */
.testimonials-stats {
    background: var(--base-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--highlight);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   COMPARISON SECTION
   ========================================================================== */

.comparison-section {
    padding: 6rem 0;
    background: var(--base-light);
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .comparison-table {
        grid-template-columns: repeat(3, 1fr);
    }
}

.comparison-column {
    background: var(--base);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-column.featured {
    border: 2px solid var(--highlight);
    position: relative;
}

.comparison-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--highlight);
    color: var(--base);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.comparison-header {
    padding: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
}

.comparison-column.featured .comparison-header {
    background: var(--gradient-accent);
    padding-top: 2rem;
}

.comparison-column.featured .comparison-header h3 {
    color: var(--base);
}

.comparison-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.comparison-row {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.05);
}

.comparison-column.featured .comparison-row:nth-child(odd) {
    background: rgba(255, 133, 3, 0.1);
}

.comparison-row svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.comparison-row svg.check {
    color: var(--success);
}

.comparison-row svg.x-icon {
    color: var(--error);
}

.comparison-row span {
    font-weight: 500;
}

.comparison-column:first-child .comparison-row span {
    font-weight: 600;
}

.comparison-column:last-child .comparison-row span {
    color: var(--text-muted);
}

/* Bottom CTA */
.comparison-cta {
    text-align: center;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.comparison-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.comparison-cta p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.comparison-savings {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--base);
    border: 1px solid rgba(255, 133, 3, 0.3);
    border-radius: var(--radius-full);
    color: var(--highlight);
    font-weight: 600;
}

/* ==========================================================================
   CONTACT CTA SECTION
   ========================================================================== */

.contact-section {
    padding: 6rem 0;
    background: var(--base);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 40px;
    right: 40px;
    width: 160px;
    height: 160px;
    border: 2px solid var(--highlight);
    border-radius: 50%;
    opacity: 0.05;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 224px;
    height: 224px;
    border: 1px solid var(--highlight);
    border-radius: 50%;
    opacity: 0.05;
}

.contact-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
}

/* Trust Badges */
.contact-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .contact-badges {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-badge svg {
    width: 24px;
    height: 24px;
    color: var(--highlight);
}

.contact-badge span {
    font-weight: 500;
}

/* Main CTA Card */
.contact-cta-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-elegant);
}

@media (min-width: 768px) {
    .contact-cta-card {
        padding: 3rem;
    }
}

.contact-cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .contact-cta-card h3 {
        font-size: 1.875rem;
    }
}

.contact-cta-card > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta-card .btn-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 56px;
    width: 100%;
}

@media (min-width: 640px) {
    .contact-cta-card .btn-primary {
        width: auto;
        padding: 1.25rem 3rem;
        font-size: 1.125rem;
        min-height: 64px;
    }
}

.contact-disclaimer {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 1.5rem;
}

.contact-info {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
}

.contact-info a {
    color: var(--highlight);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: var(--base);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h3 {
    font-size: 1.25rem;
    color: var(--highlight);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.footer-contact {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact a,
.footer-contact div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--highlight);
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    color: var(--highlight);
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--highlight);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: var(--highlight);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.copyright {
    text-align: center;
}

@media (min-width: 768px) {
    .copyright {
        text-align: right;
    }
}

.copyright > div {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.copyright .tagline {
    color: var(--highlight);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ==========================================================================
   BIO PAGE
   ========================================================================== */

.bio-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 3rem) 1rem 3rem;
}

.bio-content {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
}

.bio-photo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--highlight);
    box-shadow: var(--shadow-highlight);
    margin: 0 auto 2rem;
}

@media (min-width: 768px) {
    .bio-photo {
        width: 160px;
        height: 160px;
    }
}

.bio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.bio-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .bio-name {
        font-size: 2.5rem;
    }
}

.bio-title {
    color: var(--highlight);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.bio-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.bio-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.bio-stat {
    text-align: center;
}

.bio-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--highlight);
}

.bio-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.bio-cta {
    margin-bottom: 1rem;
}

.bio-cta .btn {
    width: 100%;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    min-height: 64px;
}

@media (min-width: 768px) {
    .bio-cta .btn {
        width: auto;
    }
}

.bio-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.bio-social a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.bio-social a:hover {
    background: rgba(255, 133, 3, 0.2);
}

.bio-social svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.bio-trust-badge {
    margin-top: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */

.legal-page {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 4rem;
}

.legal-content {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .legal-content h1 {
        font-size: 2.5rem;
    }
}

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

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-content .effective-date {
    color: var(--highlight);
    font-weight: 500;
    margin-top: 2rem;
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */

.error-page {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-height) + 3rem) 1rem 3rem;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: var(--highlight);
    line-height: 1;
    margin-bottom: 0;
}

.error-page h2 {
    margin-bottom: 1rem;
}

.error-page p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ==========================================================================
   WORDPRESS SPECIFIC
   ========================================================================== */

.entry-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content a {
    color: var(--highlight);
    text-decoration: underline;
}

.entry-content a:hover {
    text-decoration: none;
}

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

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

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.entry-content blockquote {
    border-left: 4px solid var(--highlight);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
}

/* WordPress Alignments */
.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible,
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   SINGLE POST (NOVO TEMPLATE)
   ========================================================================== */

.single-post-section {
    padding-top: calc(var(--header-height) + 3rem);
}

/* HEADER */
.post-header {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.post-header h1 {
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.post-meta a {
    color: var(--highlight);
}

.post-meta a:hover {
    text-decoration: underline;
}

.post-meta .separator {
    color: var(--text-subtle);
}

/* THUMB */
.post-thumb {
    max-width: 800px;
    margin: 0 auto 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* CONTENT */
.single-post .entry-content {
    max-width: 800px;
    margin: 0 auto;
}

/* FOOTER */
.post-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* TAGS */
.post-tags {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.post-tags strong {
    color: var(--text-primary);
}

.post-tags a {
    color: var(--highlight);
}

.post-tags a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   RELATED POSTS
   ========================================================================== */

.related-posts {
    margin-top: 2rem;
}

.related-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* GRID */
.post-nav-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .post-nav-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CARD */
.post-card {
    display: block;
    background: var(--base-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-elegant);
}

/* IMAGE */
.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-smooth);
}

.post-card:hover .card-image img {
    transform: scale(1.05);
}

/* CATEGORY BADGE */
.card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--highlight);
    color: var(--base);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* CONTENT */
.card-content {
    padding: 1rem;
}

.card-title {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-primary);
}

/* HOVER */
.post-card:hover .card-title {
    color: var(--highlight);
}