/* ===== RESET E VARIÁVEIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores da Identidade Visual */
    --primary-color: #0891b2;
    --primary-dark: #0e7490;
    --secondary-color: #f59e0b;
    --text-primary: #1a1a1a;
    --text-secondary: #4b5563;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-accent: #e0f2fe;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    
    /* Tipografia */
    --font-serif: 'Merriweather', Georgia, serif;
    --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Espaçamentos */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Larguras */
    --container-width: 800px;
    --container-wide: 1200px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ===== MAIN ===== */
.main {
    background-color: var(--bg-white);
    min-height: calc(100vh - 200px);
}

.article {
    padding: var(--space-xl) 0 var(--space-2xl);
}

/* ===== CATEGORIA ===== */
.category {
    margin-bottom: var(--space-xs);
}

.category-badge {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ea580c 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
}

.category-date {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: var(--space-lg);
}

/* ===== HEADLINE ===== */
.headline {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

/* ===== ARTICLE META ===== */
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    margin-bottom: var(--space-xl);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.author-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-light);
}

.article-stats {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.stat-item svg {
    opacity: 0.7;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    margin: var(--space-xl) 0;
}

.video-intro {
    background: linear-gradient(135deg, var(--bg-accent) 0%, #dbeafe 100%);
    border-left: 4px solid var(--primary-color);
    padding: var(--space-md);
    border-radius: 8px;
    margin-bottom: var(--space-md);
}

.video-intro-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

.video-intro-text strong {
    color: var(--primary-dark);
}

.video-player {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--space-sm);
}

#playerContainer {
    background: #000;
}

.video-caption {
    text-align: center;
    padding: var(--space-sm) 0;
}

.video-caption p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

/* ===== TRUST SECTION ===== */
.trust-section {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    text-align: center;
}

.trust-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.trust-logo {
    height: 48px;
    width: auto;
    opacity: 1;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

.trust-logo:hover {
    transform: scale(1.05);
}

/* ===== CONTENT SECTION ===== */
.content-section {
    margin-top: var(--space-xl);
}

.highlight-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid var(--warning-color);
    padding: var(--space-lg);
    border-radius: 8px;
    margin-bottom: var(--space-xl);
}

.highlight-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.highlight-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonial-section {
    margin: var(--space-xl) 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.testimonial-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: var(--space-lg);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.15);
    transform: translateY(-2px);
}

.testimonial-rating {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    font-style: italic;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== CTA BOX ===== */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--space-xl);
    border-radius: 12px;
    text-align: center;
    margin: var(--space-xl) 0;
    box-shadow: 0 20px 60px rgba(8, 145, 178, 0.3);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0.95;
}

/* ===== FOOTER PROFISSIONAL ===== */
.footer {
    background: linear-gradient(180deg, var(--text-primary) 0%, #0a0a0a 100%);
    color: white;
    padding: var(--space-2xl) 0 var(--space-lg);
    margin-top: var(--space-2xl);
}

.footer-container {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: var(--space-xs);
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    font-style: italic;
    opacity: 0.5;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    :root {
        --space-xl: 2rem;
        --space-2xl: 3rem;
    }
    
    .headline {
        font-size: 1.875rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .trust-logos {
        gap: var(--space-md);
    }
    
    .trust-logo {
        height: 42px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .trust-logo {
        height: 36px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== ACESSIBILIDADE ===== */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

::selection {
    background-color: var(--bg-accent);
    color: var(--text-primary);
}
