/* ===== CSS Institucional - MelhorLink ===== */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Navigation */
.header-nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-img {
    height: 40px;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s;
}

.btn-login:hover {
    color: #4f46e5;
}

.btn-cta {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

/* Content Area */
.institucional-content {
    padding: 40px 0 80px;
    min-height: calc(100vh - 200px);
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 40px 0 60px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    color: #64748b;
}

/* Content Sections */
.content-section {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.content-section p {
    color: #475569;
    margin-bottom: 15px;
}

.content-section ul {
    margin-left: 20px;
    color: #475569;
}

.content-section ul li {
    margin-bottom: 10px;
}

/* Legal Pages */
.content-section.legal h2 {
    font-size: 1.3rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.value-card {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.value-card h3 {
    color: #1e293b;
    margin-bottom: 10px;
}

.value-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    color: #fff;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.cta-section h2 {
    border: none;
    text-align: center;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: #fff;
    color: #6366f1;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    border: 2px solid #6366f1;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #6366f1;
    color: #fff;
}

.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.contact-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Help Page */
.search-box {
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-box input {
    width: 100%;
    padding: 18px 25px;
    font-size: 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s;
}

.search-box input:focus {
    border-color: #6366f1;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.help-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.help-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.help-card h3 {
    color: #1e293b;
    margin-bottom: 15px;
}

.help-card ul {
    list-style: none;
    margin: 0;
}

.help-card ul li {
    margin-bottom: 10px;
}

.help-card ul li a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s;
}

.help-card ul li a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* FAQ */
.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-item p {
    color: #64748b;
}

/* Integrations */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.integration-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.integration-logo {
    font-size: 3rem;
    margin-bottom: 15px;
}

.integration-card h3 {
    color: #1e293b;
    margin-bottom: 10px;
}

.integration-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.integration-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.integration-status.active {
    background: #dcfce7;
    color: #16a34a;
}

.integration-status.coming {
    background: #fef3c7;
    color: #d97706;
}

/* Status Page */
.status-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    border-radius: 16px;
    margin-bottom: 30px;
}

.status-banner.operational {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.status-icon {
    font-size: 3rem;
}

.status-text strong {
    display: block;
    font-size: 1.3rem;
    color: #16a34a;
}

.status-text p {
    color: #22c55e;
    margin: 0;
}

.status-list {
    margin-top: 20px;
}

.status-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 15px;
}

.status-dot.operational {
    background: #22c55e;
}

.status-name {
    flex: 1;
    color: #1e293b;
}

.status-label {
    color: #22c55e;
    font-weight: 500;
}

.uptime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.uptime-card {
    text-align: center;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
}

.uptime-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 5px;
}

.uptime-label {
    color: #64748b;
    font-size: 0.9rem;
}

.incidents-list {
    margin-top: 20px;
}

.incident-item {
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 15px;
}

.incident-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.incident-status {
    font-weight: 600;
    color: #22c55e;
}

.incident-date {
    color: #64748b;
}

.incident-item h4 {
    color: #1e293b;
    margin-bottom: 5px;
}

.incident-item p {
    color: #64748b;
    margin: 0;
}

.no-incidents {
    text-align: center;
    color: #22c55e;
    font-style: italic;
    padding: 20px;
}

.subscribe-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.subscribe-form input {
    padding: 15px 25px;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-size: 1rem;
    min-width: 250px;
    outline: none;
}

.subscribe-form input:focus {
    border-color: #6366f1;
}

/* Security Page */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.security-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.security-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.security-card h3 {
    color: #1e293b;
    margin-bottom: 10px;
}

.security-card p {
    color: #64748b;
    font-size: 0.9rem;
}

.compliance-list {
    margin-top: 20px;
}

.compliance-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 15px;
}

.compliance-badge {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.compliance-item h4 {
    color: #1e293b;
    margin-bottom: 5px;
}

.compliance-item p {
    color: #64748b;
    margin: 0;
}

.tips-list {
    list-style: none;
    margin: 20px 0 0 0;
}

.tips-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

/* API Page */
.api-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.api-feature {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
}

.api-feature h3 {
    color: #1e293b;
    margin-bottom: 15px;
}

.api-feature ul {
    list-style: none;
    margin: 0;
}

.api-feature ul li {
    padding: 8px 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.api-feature ul li:last-child {
    border-bottom: none;
}

.code-example {
    background: #1e293b;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    overflow-x: auto;
}

.code-example pre {
    margin: 0;
}

.code-example code {
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Blog Page */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 150px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: #e0e7ff;
    color: #6366f1;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-content h3 {
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.blog-content p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Careers Page */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.benefit-card {
    text-align: center;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
}

.benefit-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.benefit-card h3 {
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1rem;
}

.benefit-card p {
    color: #64748b;
    font-size: 0.9rem;
}

.jobs-list {
    margin-top: 25px;
}

.job-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.job-card h3 {
    color: #1e293b;
    margin: 0;
}

.job-type {
    background: #e0e7ff;
    color: #6366f1;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.job-card p {
    color: #64748b;
    margin-bottom: 15px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.job-tags span {
    background: #fff;
    color: #64748b;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
}

/* Partners Page */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step-card {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    color: #1e293b;
    margin-bottom: 10px;
}

.step-card p {
    color: #64748b;
}

.partner-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.partner-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.partner-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.partner-card h3 {
    color: #1e293b;
    margin-bottom: 10px;
}

.partner-card p {
    color: #64748b;
    font-size: 0.9rem;
}

.benefits-list {
    list-style: none;
    margin: 20px 0 0 0;
}

.benefits-list li {
    padding: 12px 0;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

/* Tutorials Page */
.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tutorial-category {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.tutorial-category h2 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.tutorial-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tutorial-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s;
}

.tutorial-item:hover {
    background: #e2e8f0;
}

.tutorial-icon {
    font-size: 1.5rem;
}

.tutorial-item h4 {
    color: #1e293b;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.tutorial-duration {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Press Page */
.press-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.press-stat {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    color: #fff;
}

.press-kit {
    margin-top: 25px;
}

.press-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 15px;
}

.press-icon {
    font-size: 2rem;
}

.press-item h4 {
    color: #1e293b;
    margin-bottom: 3px;
}

.press-item p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

.press-item .btn-secondary {
    margin-left: auto;
}

.media-mentions {
    margin-top: 25px;
}

.media-item {
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 15px;
}

.media-source {
    display: inline-block;
    background: #e0e7ff;
    color: #6366f1;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.media-item p {
    color: #1e293b;
    font-style: italic;
    margin-bottom: 10px;
}

.media-date {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Simple Footer */
.footer-simple {
    background: #1e293b;
    color: #94a3b8;
    padding: 30px 0;
    text-align: center;
}

.footer-simple .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-simple a {
    color: #6366f1;
    text-decoration: none;
}

.footer-simple a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 25px;
    }
    
    .nav-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .blog-grid,
    .tutorials-grid {
        grid-template-columns: 1fr;
    }
    
    .job-header {
        flex-direction: column;
    }
    
    .press-item {
        flex-direction: column;
        text-align: center;
    }
    
    .press-item .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .footer-simple .container {
        flex-direction: column;
    }
}
