@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

:root {
    --preto: #0A0A0A;
    --verde-neon: #00FF84;
    --cinza-claro: #EDEDED;
    --branco: #FFFFFF;
    --azul-petroleo: #0F4C81;
    --azul-hover: #1a5c9c;
    --cinza-escuro: #1a1a1a;
}

body {
    background-color: var(--preto);
    color: var(--cinza-claro);
    display: flex;
    min-height: 100vh;
    font-weight: 400;
    line-height: 1.6;
}

/* Sidebar Melhorada */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--preto) 0%, var(--cinza-escuro) 100%);
    padding: 25px 20px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 3px 0 15px rgba(0, 0, 0, 0.4);
    border-right: 2px solid var(--azul-petroleo);
    z-index: 1000;
    transition: all 0.3s ease;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: var(--preto);
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--azul-petroleo);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--verde-neon);
}

.logo {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--azul-petroleo);
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 25%;
    width: 50%;
    height: 2px;
    background: var(--verde-neon);
}

.logo h1 {
    color: var(--verde-neon);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.logo span {
    color: var(--branco);
    font-size: 1.1rem;
    font-weight: 300;
}

.logo p {
    color: var(--cinza-claro);
    font-size: 0.9rem;
    font-weight: 300;
    margin-top: 8px;
    opacity: 0.8;
}

.nav-links {
    list-style: none;
    margin-top: 10px;
}

.nav-links li {
    margin-bottom: 12px;
    position: relative;
}

.nav-links li::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--verde-neon);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.nav-links li:hover::before {
    height: 20px;
}

.nav-links a {
    color: var(--cinza-claro);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    gap: 12px;
    font-weight: 400;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
}

.nav-links a:hover {
    background: var(--azul-petroleo);
    color: var(--branco);
    border-color: var(--verde-neon);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 255, 132, 0.1);
}

.nav-links a:active {
    transform: translateX(5px) scale(0.98);
}

.nav-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.nav-links a:hover .nav-icon {
    transform: scale(1.1);
}

/* Indicador de página ativa */
.nav-links a.active {
    background: var(--azul-petroleo);
    color: var(--verde-neon);
    border-color: var(--verde-neon);
    box-shadow: 0 4px 12px rgba(0, 255, 132, 0.15);
}

.nav-links a.active .nav-icon {
    color: var(--verde-neon);
}

/* Conteúdo principal */
.main-content {
    margin-left: 280px;
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
}

/* Seções */
.section {
    padding: 80px 50px;
    border-bottom: 1px solid var(--azul-petroleo);
}

.section-title {
    color: var(--verde-neon);
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 600;
    text-align: center;
    letter-spacing: -0.5px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--verde-neon);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--verde-neon);
    font-size: 1.6rem;
    margin: 40px 0 20px;
    font-weight: 500;
}

.section-text {
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 800px;
    font-size: 1.05rem;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Cards de serviços */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: linear-gradient(145deg, var(--preto), var(--cinza-escuro));
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--azul-petroleo);
    padding: 30px;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--verde-neon);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 255, 132, 0.15);
    border-color: var(--verde-neon);
}

.card h3 {
    color: var(--verde-neon);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1.4rem;
}

.card p {
    color: var(--cinza-claro);
    font-weight: 400;
    line-height: 1.7;
    font-size: 1rem;
}

.card-icon {
    width: 28px;
    height: 28px;
}

/* Destaque ModUp */
.modup-highlight {
    background: linear-gradient(135deg, var(--azul-petroleo) 0%, var(--preto) 100%);
    border-radius: 20px;
    padding: 50px;
    margin: 50px 0;
    border: 2px solid var(--verde-neon);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.modup-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 132, 0.1) 0%, transparent 70%);
    animation: pulse 6s infinite linear;
}

@keyframes pulse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modup-logo {
    font-size: 3rem;
    color: var(--verde-neon);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.modup-logo i {
    filter: drop-shadow(0 0 10px rgba(0, 255, 132, 0.5));
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--verde-neon);
    color: var(--preto);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    margin-top: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 255, 132, 0.3);
}

.btn:hover {
    background: var(--azul-petroleo);
    color: var(--branco);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 132, 0.4);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--verde-neon);
    color: var(--verde-neon);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--verde-neon);
    color: var(--preto);
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Formulário de contato */
.contact-form {
    max-width: 650px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--cinza-claro);
    font-weight: 500;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--azul-petroleo);
    border-radius: 8px;
    color: var(--cinza-claro);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--verde-neon);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 255, 132, 0.1);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
    line-height: 1.5;
    background-color: #0A0A0A;
    color: #00FF84;
}
/* Container do select para customização */
.select-container {
    position: relative;
    width: 100%;
}

.select-container::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300FF84'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--azul-petroleo);
    border-radius: 8px;
    color: var(--cinza-claro);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

/* Remove o fundo branco padrão do select */
.form-control::-ms-expand {
    display: none;
}

/* Estilo quando o select está focado */
.form-control:focus {
    outline: none;
    border-color: var(--verde-neon);
    box-shadow: 0 0 0 3px rgba(0, 255, 132, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

/* Estilo quando o select está aberto */
.form-control:active,
.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
}

/* Estilo das opções */
.form-control option {
    background: var(--preto);
    color: var(--cinza-claro);
    padding: 12px 15px;
    border: none;
    font-size: 1rem;
}

.form-control option:hover {
    background: var(--azul-petroleo);
    color: var(--branco);
}

.form-control option:checked {
    background: var(--verde-neon);
    color: var(--preto);
    font-weight: 500;
}

.form-control option:focus {
    background: var(--azul-petroleo);
    color: var(--branco);
}

/* Placeholder styling */
.form-control:invalid {
    color: #888;
}

.form-control option[value=""] {
    color: #888;
    font-style: italic;
}

/* Efeito hover no container do select */
.select-container:hover .form-control {
    border-color: var(--verde-neon);
    background: rgba(255, 255, 255, 0.08);
}

.select-container:hover::after {
    transform: translateY(-50%) scale(1.1);
}

/* Estado ativo - quando o select está aberto */
.form-control:focus + .select-container::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Versão alternativa com ícone do Lucide */
.select-container.lucide-select::after {
    background-image: none;
    width: 20px;
    height: 20px;
}

.select-container.lucide-select::after {
    content: '';
    background: var(--verde-neon);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* Estados de validação */
.form-control:valid {
    border-color: var(--azul-petroleo);
}

.form-control:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #ff4757;
}

/* Loading state */
.form-control.loading {
    background: rgba(255, 255, 255, 0.03);
    color: #666;
}

/* Disabled state */
.form-control:disabled {
    background: rgba(255, 255, 255, 0.02);
    border-color: #333;
    color: #666;
    cursor: not-allowed;
}

.form-control:disabled + .select-container::after {
    opacity: 0.5;
}

/* Dark theme para navegadores que suportam */
@media (prefers-color-scheme: dark) {
    .form-control {
        background: rgba(255, 255, 255, 0.05);
        color: var(--cinza-claro);
    }
    
    .form-control option {
        background: var(--preto);
        color: var(--cinza-claro);
    }
}

/* Animações */
@keyframes selectFocus {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 132, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 132, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 132, 0);
    }
}

.form-control:focus {
    animation: selectFocus 0.6s ease-out;
}

/* Responsividade */
@media (max-width: 768px) {
    .form-control {
        padding: 12px 15px;
        font-size: 16px; /* Previne zoom no iOS */
    }
    
    .select-container::after {
        right: 12px;
        width: 10px;
        height: 10px;
    }
}

/* Scrollbar personalizada para o dropdown (Webkit) */
.form-control::-webkit-scrollbar {
    width: 8px;
}

.form-control::-webkit-scrollbar-track {
    background: var(--preto);
    border-radius: 4px;
}

.form-control::-webkit-scrollbar-thumb {
    background: var(--azul-petroleo);
    border-radius: 4px;
}

.form-control::-webkit-scrollbar-thumb:hover {
    background: var(--verde-neon);
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--preto) 0%, var(--cinza-escuro) 100%);
    padding: 50px 30px 30px;
    margin-top: auto;
    border-top: 2px solid var(--azul-petroleo);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--verde-neon);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.3rem;
}

.footer-section p {
    color: var(--cinza-claro);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-icon {
    width: 24px;
    height: 24px;
}

.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
}

.contact-icon {
    width: 18px;
    height: 18px;
    color: var(--verde-neon);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--cinza-claro);
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
    background: var(--azul-petroleo);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.social-links a:hover {
    color: var(--preto);
    background: var(--verde-neon);
    transform: translateY(-3px);
    border-color: var(--verde-neon);
    box-shadow: 0 5px 15px rgba(0, 255, 132, 0.3);
}

.social-icon {
    width: 20px;
    height: 20px;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--azul-petroleo);
    color: var(--cinza-claro);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 400;
    font-size: 0.9rem;
}

/* ===== RESPONSIVIDADE ===== */

/* Tablets (768px para cima) */
@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
    }
    
    .main-content {
        margin-left: 240px;
    }
    
    .section {
        padding: 60px 30px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

/* Tablets menores (768px para baixo) */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 20px;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .nav-links {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
    
    .nav-links li {
        margin-bottom: 0;
    }
    
    .nav-links a {
        justify-content: center;
        text-align: center;
        padding: 15px;
    }
    
    .nav-links li::before {
        display: none;
    }
    
    .section {
        padding: 50px 25px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modup-highlight {
        padding: 35px;
        margin: 35px 0;
    }
    
    .modup-logo {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section h3 {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Mobile Large (600px para baixo) */
@media (max-width: 600px) {
    .sidebar {
        padding: 15px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .section-subtitle {
        font-size: 1.4rem;
        margin: 30px 0 15px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 25px;
    }
    
    .modup-highlight {
        padding: 25px;
        margin: 25px 0;
        border-radius: 15px;
    }
    
    .modup-logo {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .contact-form {
        max-width: 100%;
    }
    
    .form-control {
        padding: 12px 15px;
    }
    
    footer {
        padding: 40px 20px 25px;
    }
}

/* Mobile Medium (480px para baixo) */
@media (max-width: 480px) {
    body {
        flex-direction: column;
    }
    
    .sidebar {
        position: relative;
        height: auto;
        width: 100%;
        padding: 20px 15px;
    }
    
    .logo {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-links a {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .section {
        padding: 30px 15px;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .section-title::after {
        width: 60px;
        bottom: -8px;
    }
    
    .section-subtitle {
        font-size: 1.3rem;
        margin: 25px 0 12px;
    }
    
    .section-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .cards-container {
        gap: 15px;
    }
    
    .card {
        padding: 20px;
        border-radius: 10px;
    }
    
    .card h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .modup-highlight {
        padding: 20px;
        margin: 20px 0;
        border-radius: 12px;
    }
    
    .modup-logo {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .copyright {
        margin-top: 30px;
        padding-top: 20px;
        flex-direction: column;
        gap: 8px;
    }
}

/* Mobile Small (360px para baixo) */
@media (max-width: 360px) {
    .sidebar {
        padding: 15px 10px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .logo span {
        font-size: 1rem;
    }
    
    .nav-links a {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .section {
        padding: 25px 10px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .card {
        padding: 15px;
    }
    
    .modup-highlight {
        padding: 15px;
    }
    
    .modup-logo {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Melhorias para telas muito grandes */
@media (min-width: 1600px) {
    .sidebar {
        width: 320px;
    }
    
    .main-content {
        margin-left: 320px;
    }
    
    .section {
        padding: 100px 80px;
    }
    
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 40px;
    }
    
    .footer-content {
        max-width: 1400px;
    }
}

/* Ajustes de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modo escuro (já é o padrão) */
@media (prefers-color-scheme: dark) {
    :root {
        --preto: #0A0A0A;
        --cinza-claro: #EDEDED;
        --branco: #FFFFFF;
    }
}

/* Impressão */
@media print {
    .sidebar {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .btn {
        display: none;
    }
}