/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary {
    background: #0073e6;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #0073e6;
    padding: 12px 24px;
    border: 2px solid #0073e6;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: #0073e6;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    font-weight: 600;
    color: #0073e6;
    text-decoration: none;
    font-size: 18px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0073e6 0%, #0056b3 100%);
    color: white;
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: #0073e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.benefit-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.benefit-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #333;
}

.benefit-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Target Audience */
.target-audience {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: #333;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.audience-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #0073e6;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.audience-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #0073e6;
}

.audience-item p {
    color: #666;
    line-height: 1.5;
}

/* What You Learn */
.what-you-learn {
    padding: 80px 0;
    background: #f8f9fa;
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.learn-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.learn-icon {
    width: 32px;
    height: 32px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.learn-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.learn-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* Differentiation */
.differentiation {
    padding: 80px 0;
}

.diff-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.diff-item {
    margin-bottom: 32px;
}

.diff-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #0073e6;
}

.diff-item p {
    color: #666;
    line-height: 1.6;
}

.diff-stats {
    display: grid;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #0073e6;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    font-style: italic;
}

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

.author-name {
    font-weight: 600;
    color: #333;
}

.author-role {
    color: #666;
    font-size: 14px;
}

/* Formation */
.formation {
    padding: 80px 0;
}

.formation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.formation-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.formation-card:hover {
    transform: translateY(-5px);
}

.formation-card.featured {
    border: 2px solid #0073e6;
    transform: scale(1.05);
}

.formation-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.formation-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0073e6;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.formation-card h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #333;
}

.formation-details {
    display: flex;
    justify-content: space-around;
    margin-bottom: 32px;
}

.duration {
    font-size: 16px;
    color: #666;
}

.price {
    font-size: 32px;
    font-weight: 700;
    color: #0073e6;
}

.formation-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.formation-features li {
    padding: 8px 0;
    color: #333;
    position: relative;
    padding-left: 20px;
}

.formation-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: #0073e6;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-text h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.contact-text p {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0073e6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    background: #0073e6;
    color: white;
}

.contact-form .btn-primary:hover {
    background: #0056b3;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
    max-width: 400px;
}

.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #555;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .learn-grid {
        grid-template-columns: 1fr;
    }
    
    .diff-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .formation-options {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .benefit-card,
    .audience-item,
    .learn-item,
    .testimonial,
    .formation-card {
        padding: 24px;
    }
    
    .contact-form {
        padding: 24px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 36px;
    margin-bottom: 16px;
}

.blog-hero-content p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.categories {
    padding: 40px 0;
    background: #f8f9fa;
}

.categories-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category {
    padding: 8px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
}

.category:hover,
.category.active {
    background: #0073e6;
    color: white;
    border-color: #0073e6;
}

.blog-posts {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.post-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.category-tag {
    background: #0073e6;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.post-date {
    color: #666;
    font-size: 14px;
}

.post-content h2 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.post-content h2 a {
    color: #333;
    text-decoration: none;
}

.post-content h2 a:hover {
    color: #0073e6;
}

.post-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #0073e6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-link {
    padding: 10px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: #0073e6;
    color: white;
    border-color: #0073e6;
}

.newsletter {
    padding: 60px 0;
    background: #0073e6;
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.newsletter-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 12px 24px;
    background: #ffd700;
    color: #0073e6;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #ffed4e;
}

/* Category-specific colors */
.category-tag.performance {
    background: #28a745;
}

.category-tag.desenvolvimento {
    background: #6f42c1;
}

.category-tag.seo {
    background: #fd7e14;
}

.category-tag.seguranca {
    background: #dc3545;
}

.category-tag.plugins {
    background: #20c997;
}

.category-tag.woocommerce {
    background: #9b59b6;
}

/* Article Styles */
.article {
    padding: 60px 0;
    background: #f8f9fa;
}

.article-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    background: white;
    border-radius: 12px;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.article-date,
.reading-time {
    color: #666;
    font-size: 14px;
}

.article-header h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-excerpt {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.article-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.article-toc {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid #0073e6;
}

.article-toc h3 {
    margin-bottom: 16px;
    color: #333;
}

.article-toc ul {
    list-style: none;
}

.article-toc li {
    margin-bottom: 8px;
}

.article-toc a {
    color: #0073e6;
    text-decoration: none;
}

.article-toc a:hover {
    text-decoration: underline;
}

.article-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 10px;
}

.article-content h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 16px;
    color: #333;
}

.article-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #444;
}

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

.article-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.article-content strong {
    color: #333;
    font-weight: 600;
}

.article-content code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    color: #e83e8c;
}

.article-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 14px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid #e5e5e5;
    flex-wrap: wrap;
    gap: 20px;
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: #0073e6;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.article-actions {
    display: flex;
    gap: 15px;
}

/* Print styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        background: none !important;
        color: black !important;
    }
    
    .article {
        background: white;
    }
    
    .article-content {
        box-shadow: none;
    }
}
