@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0066ff;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --bg-white: #ffffff;
    --bg-gray: #f8f9fa;
    --border-color: #eeeeee;
    --container-width: 1100px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-main);
}

nav ul li a:hover {
    color: var(--primary-color);
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 8px 15px;
    padding-right: 35px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    transition: var(--transition);
}

.search-bar input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

/* Video Hero Section */
.hero-video {
    padding: 40px 0;
    background-color: #000;
}

.video-player-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background-color: #111;
}

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

/* Video Meta */
.video-meta-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.video-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.meta-info {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.meta-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Cambly Ad Block */
.cambly-ad {
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    border: 1px solid #d0e4ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.cambly-content {
    flex: 1;
}

.cambly-ad h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #003366;
}

.cambly-ad p {
    font-size: 16px;
    color: #445566;
    margin-bottom: 25px;
}

.cambly-cta {
    display: inline-block;
    padding: 14px 30px;
    background-color: #ff3b30;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.cambly-cta:hover {
    background-color: #e02d23;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 59, 48, 0.2);
}

.cambly-image {
    flex: 0 0 300px;
}

.cambly-image img {
    border-radius: 12px;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content ul, .article-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

/* Related Videos */
.related-section {
    padding: 60px 0;
    background-color: var(--bg-gray);
    margin-top: 60px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .card-thumb img {
    scale: 1.05;
}

.card-content {
    padding: 20px;
}

.card-cat {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.faq-question {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    cursor: pointer;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-muted);
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .video-title {
        font-size: 28px;
    }
    
    nav ul {
        display: none; /* Mobile menu needed */
    }
    
    .cambly-ad {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    
    .cambly-image {
        order: -1;
        flex: 0 0 auto;
        width: 100%;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Video Transcript Section */
.video-transcript {
    margin-top: 40px;
    background: #f7f7f7;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.transcript-toggle {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    margin-bottom: 0;
    transition: var(--transition);
}

.transcript-toggle:hover {
    background: #0056d6;
}

.transcript-content {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 20px;
    display: none; /* Inicia fechado */
    padding-right: 15px;
}

.transcript-content.active {
    display: block;
}

.transcript-line {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
    display: flex;
    gap: 15px;
}

.transcript-time {
    font-weight: 700;
    color: #1f3a5f;
    text-decoration: none;
    min-width: 50px;
}

.transcript-time:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.transcript-text {
    color: #333;
}

