@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');

/* ===== VARIÁVEIS CSS ===== */
:root {
    --preto: #0A0A0A;
    --verde-neon: #00FF84;
    --cinza-claro: #EDEDED;
    --branco: #FFFFFF;
    --azul-petroleo: #0F4C81;
    --cinza-escuro: #1a1a1a;
}

/* ===== RESET E CONFIGURAÇÕES GERAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

body {
    background-color: var(--preto);
    color: var(--cinza-claro);
    display: flex;
    min-height: 100vh;
    font-weight: 400;
    line-height: 1.6;
}

/* ===== SIDEBAR ===== */
.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;
}

.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: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.logo span {
    color: var(--branco);
}

.logo p {
    color: var(--cinza-claro);
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.8;
}

/* ===== NAVEGAÇÃO ===== */
.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-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.nav-links a:hover .nav-icon {
    transform: scale(1.1);
}

/* ===== CONTEÚDO PRINCIPAL ===== */
.main-content {
    margin-left: 280px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ===== 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-align: center;
    margin-left: 23%;
}

/* ===== 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;
}

/* ===== 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;
}

.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;
    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-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}
/* 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;
}

/* ===== SCROLLBAR ===== */
.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);
}

/* ===== RESPONSIVIDADE ===== */

/* 1080px para cima - Telas Grandes */
@media (min-width: 1080px) {
    .sidebar {
        width: 300px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .nav-links a {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .section {
        padding: 100px 80px;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 40px;
    }
    
    .footer-content {
        max-width: 1400px;
    }
}

/* 720px a 1079px - Tablets */
@media (max-width: 1079px) and (min-width: 721px) {
    .sidebar {
        width: 260px;
    }
    
    .main-content {
        margin-left: 260px;
    }
    
    .section {
        padding: 60px 40px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .card {
        padding: 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 480px a 720px - Tablets Pequenos/Mobile Large */
@media (max-width: 720px) and (min-width: 481px) {
    body {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 20px 15px;
        border-right: none;
        border-bottom: 2px solid var(--azul-petroleo);
    }
    
    .logo {
        margin-bottom: 25px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .nav-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .nav-links li {
        margin-bottom: 0;
    }
    
    .nav-links li::before {
        display: none;
    }
    
    .nav-links a {
        padding: 12px 10px;
        font-size: 0.9rem;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-links a:hover {
        transform: translateY(-3px);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .section {
        padding: 50px 30px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .section-title::after {
        width: 70px;
        bottom: -8px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 25px;
    }
    
    .card h3 {
        font-size: 1.3rem;
    }
    
    .contact-form {
        max-width: 100%;
    }
    
    .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;
    }
}

/* 480px para baixo - Mobile */
@media (max-width: 480px) {
    .sidebar {
        padding: 20px 15px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .nav-links a {
        padding: 15px 12px;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .section-title::after {
        width: 60px;
        bottom: -6px;
    }
    
    .section-subtitle {
        font-size: 1.4rem;
        margin: 30px 0 15px;
    }
    
    .section-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .cards-container {
        gap: 15px;
    }
    
    .card {
        padding: 20px;
        border-radius: 10px;
    }
    
    .card h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .card-icon {
        width: 24px;
        height: 24px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        padding: 12px 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    footer {
        padding: 40px 20px 25px;
    }
    
    .copyright {
        margin-top: 30px;
        padding-top: 20px;
        flex-direction: column;
        gap: 8px;
    }
}

/* 360px para baixo - Mobile Pequeno */
@media (max-width: 360px) {
    .sidebar {
        padding: 15px 10px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .nav-links a {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
    
    .section {
        padding: 30px 15px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .card {
        padding: 15px;
    }
    
    .card h3 {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}