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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1a1a1a;
}

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

/* Header e Navegação */
.navbar {
    background: #033f6b;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.logo h1 {
    color: #3498db;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a.restricted-link {
    text-decoration: underline;
}

.nav-menu a.support-tech-link {
    text-decoration: underline;
    color: #7ecfff;
}

.nav-menu a.support-tech-link:hover {
    color: #ffffff;
}

/* Modal Suporte Técnico */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    max-width: 980px;
    width: 95%;
    text-align: center;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.modal-box h2 {
    color: #3498db;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.modal-box p {
    color: #d0d0d0;
    font-size: 1rem;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #3498db;
}

.btn-download {
    display: inline-block;
    background: #033f6b;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-download:hover {
    background: #022d4d;
}

.support-guide {
    margin-top: 1.8rem;
    text-align: left;
}

.support-guide h3 {
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.support-guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-step {
    margin-bottom: 1.2rem;
}

.guide-step:last-child {
    margin-bottom: 0;
}

.guide-step-text {
    margin-bottom: 0.5rem;
    color: #d0d0d0;
    font-size: 0.98rem;
    line-height: 1.5;
}

.support-guide-image {
    display: none;
    width: 100%;
    max-width: 640px;
    border-radius: 8px;
    border: 1px solid #444;
    margin: 0.35rem auto 0;
}

.support-guide-image.loaded {
    display: block;
}

.nav-menu a:hover {
    color: #3498db;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.language-selector .lang-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
}

.language-selector .lang-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.language-selector .lang-link.active {
    background: white;
    color: #033f6b;
    border-color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/background.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    width: 100%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.3rem;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 0rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background: #033f6b;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #022d4d;
}

.btn-secondary {
    background: #3498db;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: #2980b9;
}

/* About dentro do Hero */
.about-hero {
    margin-top: 3rem;
    padding: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-hero h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.about-hero p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.8;
}

/* Seções */
section {
    padding: 80px 0;
}

.about {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/background.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0;
    margin-top: -80px;
    padding-top: 160px;
    position: relative;
}

.about h2, .services h2, .contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.about h2 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.services h2 {
    color: #3498db !important;
}

.about p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.8;
}

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Services Section Background */
.services {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(52, 152, 219, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.services > .container {
    position: relative;
    z-index: 1;
    max-width: 1600px;
}

.service-item {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    border: 1px solid #3a3a3a;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    color: #3498db;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.8rem;
}

.service-item p {
    text-align: justify;
    color: #d0d0d0;
}

.service-consultoria {
    grid-column: 1 / -1;
}

.consultoria-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.consultoria-topic {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.consultoria-topic h4 {
    color: #3498db;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.consultoria-topic p {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: justify;
    color: #d0d0d0;
}

.btn-details {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background 0.3s;
}

.btn-details:hover {
    background: #2980b9;
}

/* Consultoria */
.consultoria {
    background: #1a1a1a;
}

.consultoria h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e0e0e0;
}

.consultoria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.consultoria-item {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    border: 1px solid #3a3a3a;
}

.consultoria-item:hover {
    transform: translateY(-5px);
}

.consultoria-item h3 {
    color: #3498db;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.3rem;
}

.consultoria-item p {
    text-align: justify;
    line-height: 1.6;
    color: #d0d0d0;
}

/* Contato */
.contact {
    background: #1a1a1a;
    text-align: center;
    padding: 60px 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #e0e0e0;
}

.contact-cta {
    font-size: 1.2rem;
    color: #d0d0d0;
}

/* Footer */
footer {
    background: #033f6b;
    color: white;
    padding: 2rem 0;
}

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

.footer-info {
    text-align: center;
    flex: 1;
}

.footer-company,
.footer-contacts {
    margin: 0.3rem 0;
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-copyright {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

.footer-privacy {
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-self: flex-start;
    margin-top: -0.5rem;
}

.linkedin-link {
    color: white;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.linkedin-link:hover {
    color: #0077b5;
    transform: scale(1.1);
}

/* ===== SERVICES CARDS ===== */

/* Services Cards Container */
.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

/* Service Card */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(52, 152, 219, 0.4);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.25);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: auto;
}

.service-card:hover {
    background: rgba(52, 152, 219, 0.08);
    border-color: #3498db;
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.3);
    transform: translateY(-5px);
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0;
    cursor: default;
    position: relative;
}

.card-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header h3 {
    color: #3498db;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
    text-align: center;
}

/* Card Toggle */
.card-toggle {
    display: none;
}

/* Card Content */
.card-content {
    display: block;
    margin-top: 1.2rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

/* Card Subtitle */
.card-subtitle {
    color: #b8b8d0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    text-align: center;
}

/* Card Services */
.card-services {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

/* Services List (Small Items) */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Service Item Small */
.service-item-small {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.service-item-small:hover {
    background: rgba(52, 152, 219, 0.08);
    border-color: rgba(52, 152, 219, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.2);
}

/* Service Icon Small */
.service-icon {
    font-size: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Info */
.service-info {
    text-align: left;
    flex: 1;
}

.service-info h4 {
    color: #3498db;
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.service-info h4::after {
    content: '›';
    font-size: 1.1rem;
    font-weight: 400;
    color: #3498db;
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.service-item-small.item-expanded .service-info h4::after {
    transform: rotate(90deg);
}

.service-info p {
    color: #b8b8d0;
    font-size: 0.85rem;
    line-height: 1.6;
    display: none;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(52, 152, 219, 0.15);
    animation: fadeInItem 0.25s ease forwards;
}

.service-item-small.item-expanded .service-info p {
    display: block;
}

@keyframes fadeInItem {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.service-item-small {
    user-select: none;
}

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Responsivo */
@media (max-width: 1200px) {
    .services-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .hero {
        min-height: 70vh;
        padding: 100px 0 60px;
        background-attachment: scroll;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .consultoria-grid {
        grid-template-columns: 1fr;
    }
    
    /* Cards responsivo */
    .services-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .card-header {
        gap: 0.8rem;
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    .card-header h3 {
        font-size: 1.2rem;
    }
    
    .card-subtitle {
        font-size: 0.9rem;
    }
    
    .card-services {
        gap: 0.8rem;
    }
    
    .service-item-small {
        flex-direction: column;
        text-align: center;
    }
    
    .service-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .accordion-header {
        flex-wrap: wrap;
    }
    
    .accordion-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .accordion-title h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .service-icon {
        font-size: 1.5rem;
    }
}