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

/* Corpo */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #0f172a;
    color: #f8fafc;
    line-height: 1.8;
}

/* Cabeçalho */
.site-header {
    background: #001f3f;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header-title-large {
    color: #ffdd57;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.site-header .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-header .logo img {
    height: 50px;
    width: auto;
    display: block;
}

/* Menu desktop */
.site-menu {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-menu a {
    color: #fff;
    margin-right: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-menu a:hover {
    color: #ffdd57;
}

.menu-fixed-item {
    background: rgba(255, 221, 87, 0.1);
    color: #ffdd57 !important;
    padding: 8px 15px !important;
    border-radius: 50px;
    border: 1px solid #ffdd57;
    margin-left: 10px;
}

.menu-fixed-item:hover {
    background: #ffdd57 !important;
    color: #001f3f !important;
}

/* Social Links */
.social-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links a {
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a.facebook {
    color: #1877F2;
}

.social-links a.instagram {
    color: #E4405F;
}

.social-links a.whatsapp {
    color: #25D366;
}

.social-links a:hover {
    filter: brightness(1.2);
    transform: translateY(-3px) scale(1.1);
}
.mobile-menu {
    display: none;
}

@media (max-width: 991px) {
    .header-left {
        gap: 15px;
    }
    .header-content-wrapper {
        display: none;
    }
    .site-header {
        padding: 10px 20px;
        flex-wrap: nowrap; /* Não quebrar para o logo e toggle ficarem na mesma linha */
    }
    .site-menu, .social-links, .header-left .logo img {
        display: none !important;
    }
    /* Logo smaller on mobile */
    .site-header .logo a img {
        display: block !important;
        height: 35px;
    }
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .mobile-menu {
        display: none;
        width: 100%; /* Ocupar largura total quando quebrar */
        flex-direction: column;
        background: #1e293b;
        padding: 20px;
        border-top: 1px solid #334155;
    }
    .mobile-menu.active {
        display: flex !important;
    }
}

.mobile-menu a {
    color: white;
    padding: 15px 0;
    text-decoration: none;
    border-bottom: 1px solid #334155;
    font-weight: 500;
}

.mobile-menu a:hover {
    color: #ffdd57;
}

/* Background Levels */
body.bg-level-0 {
    background-color: #0f172a;
}

body.bg-level-1 {
    background-color: #111827;
}

body.bg-level-2 {
    background-color: #1f2937;
}

body.bg-level-3 {
    background-color: #111827;
}

body.bg-level-4 {
    background-color: #0f172a;
}

body.bg-auth {
    background-color: #001f3f;
    color: #fff;
}

.bg-auth .login-box {
    color: #333;
}

/* Conteúdo Principal */
.site-content {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 60vh;
}

/* Rodapé */
.site-footer {
    padding: 60px 40px 30px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-brand {
    font-size: 22px !important;
    margin-bottom: 20px !important;
}

.footer-col p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-item i {
    width: 15px;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: inherit;
    text-decoration: none;
    transition: 0.2s;
    opacity: 0.8;
}

.footer-nav a:hover {
    opacity: 1;
    transform: translateX(5px);
    color: #ffdd57;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social .social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-size: 18px;
}

.footer-social .social-icon:hover {
    background: #ffdd57;
    color: #001f3f;
    transform: translateY(-5px);
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Support System */
.support-container {
    background: #1e293b;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #334155;
    padding-bottom: 15px;
}

.support-header h1 {
    color: #fff;
    font-size: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #cbd5e1;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s;
}

.form-control:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: #001f3f;
    color: #fff;
}

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

/* Ticket List */
.ticket-list {
    list-style: none;
    margin-top: 20px;
}

.ticket-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #1e293b;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: 0.3s;
    border-left: 5px solid #334155;
    text-decoration: none;
    color: #fff;
}

.ticket-item:hover {
    background: #334155;
    transform: translateX(5px);
}

.ticket-info {
    flex: 1;
}

.ticket-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #fff;
}

.ticket-info span {
    font-size: 13px;
    color: #718096;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-aberto {
    background: #e6fffa;
    color: #2c7a7b;
}

.badge-respondido {
    background: #ebf8ff;
    color: #2b6cb0;
}

.badge-fechado {
    background: #edf2f7;
    color: #4a5568;
}

.ticket-item.status-aberto {
    border-left-color: #38b2ac;
}

.ticket-item.status-respondido {
    border-left-color: #4299e1;
}

.ticket-item.status-fechado {
    border-left-color: #a0aec0;
}

/* Ticket Details & Interações */
.interaction-list {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.interaction-item {
    max-width: 80%;
    padding: 15px 20px;
    border-radius: 15px;
    position: relative;
}

.interaction-user {
    align-self: flex-start;
    background: #334155;
    color: #fff;
    border-bottom-left-radius: 2px;
}

.interaction-admin {
    align-self: flex-end;
    background: #001f3f;
    color: #fff;
    border-bottom-right-radius: 2px;
}

.interaction-meta {
    font-size: 11px;
    margin-bottom: 5px;
    opacity: 0.8;
    display: block;
}

.interaction-content {
    line-height: 1.5;
    word-wrap: break-word;
}

/* Botão Voltar Centrado */
.back-container {
    display: flex;
    justify-content: center;
    margin: 50px 0 30px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 40px;
    background: #001f3f;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.2);
    border: 2px solid transparent;
}

.btn-back:hover {
    background: #003366;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 31, 63, 0.3);
    color: #ffdd57;
    border-color: #ffdd57;
}

.btn-back i {
    font-size: 28px;
}
/* Home Hero Section */
.hero-section {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    color: white;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    font-size: 32px;
    color: #ffdd57;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
    text-transform: uppercase;
    display: inline-block;
}

.btn-primary {
    background: #ffdd57 !important;
    color: #001f3f !important;
    border: none !important;
}

.btn-primary:hover {
    background: #f8fafc !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 221, 87, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: #f0f2f5;
    color: #001f3f;
    transform: translateY(-3px);
}

/* Removido duplicata .home-main */

@media (max-width: 768px) {
    .hero-section h1 { font-size: 32px; }
    .hero-features { flex-direction: column; gap: 20px; }
    .cta-container { flex-direction: column; }
}

/* Grid de Serviços na Home */
.home-main {
    padding: 10px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

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

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

.section-header p {
    color: #94a3b8;
    font-size: 18px;
}

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

.service-card {
    background: #1e293b;
    padding: 40px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    border: 1px solid #334155;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #ffdd57;
    background: #0f172a;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    object-fit: contain;
}

.service-card i.card-icon {
    font-size: 40px;
    color: #ffdd57;
    line-height: 60px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    color: #94a3b8;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

.card-link {
    color: #ffdd57;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 768px) {
    .home-main { padding: 40px 20px; }
    .header-title-large { font-size: 16px; }
}

/* Seção de Parcerias */
.partnerships {
    padding: 10px 40px;
    background: #0f172a;
    text-align: center;
}

.partnerships h2 {
    margin-bottom: 40px;
    font-size: 28px;
    color: #ffdd57;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
}

.partner-card {
    background: #1e293b;
    padding: 40px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    border: 1px solid #334155;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.partner-card:hover {
    transform: translateY(-10px);
    border-color: #ffdd57;
    background: #0f172a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(255, 221, 87, 0.1);
}

.partner-logo-wrapper {
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.partner-logo-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.partner-logo-wrapper i {
    font-size: 40px;
    color: #94a3b8;
}

.partner-card span {
    font-weight: bold;
    font-size: 16px;
}

/* Hover Info Box para Parcerias */
.partner-card {
    position: relative;
    overflow: hidden;
}

.partner-hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease-in-out;
    border-radius: 16px;
    z-index: 10;
}

.partner-card:hover .partner-hover-info {
    opacity: 1;
    visibility: visible;
}

.partner-hover-info p {
    color: #ffdd57;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}
