/* Variáveis CSS para Dark/Light Mode */
:root {
    --bg-color: #f8f9fa;
    --text-color: #212529;
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #6e48aa;
    --card-bg: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #6e48aa 0%, #9d4edd 100%);
}

[data-theme="dark"] {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --primary-color: #4dabf7;
    --secondary-color: #adb5bd;
    --accent-color: #9d4edd;
    --card-bg: #1a1a1a;
    --border-color: #333333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, #4dabf7 0%, #9d4edd 100%);
    --gradient-secondary: linear-gradient(135deg, #9d4edd 0%, #c77dff 100%);
}

/* Aplicar dark mode em TODOS os elementos */
html {
    background-color: var(--bg-color);
    transition: all 0.3s ease;
}

body {
    font-family: 'Rubik', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Dark mode para cobrir toda a tela */
[data-theme="dark"] {
    background-color: var(--bg-color);
}

[data-theme="dark"] * {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Aplicar dark mode em mais elementos */
main {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

section {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    margin-bottom: 0;
}

section + section {
    margin-top: 0;
}

/* Estilo para o header */
.custom-header {
    /* Fundo preto */
    color: white;
    /* Texto branco */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}

/* Para links dentro do header (ajustar o estilo do link) */
.custom-header a {
    color: white;
    /* Texto do link branco */
    text-decoration: none;
    /* Remover sublinhado */
}

.custom-header .row {
    gap: 10px;
}

/* Customização do texto para destacar o preço */
.fs-4 {
    font-size: 1.5rem; /* Ajuste para aumentar o tamanho do "Oferta Por Tempo Limitado!" */
}

.fs-3 {
    font-size: 2rem; /* Aumenta o tamanho dos valores dos preços */
}

.text-danger {
    text-decoration: line-through;
}

.fw-bold {
    font-weight: bold;
}

.foto {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .dropdown-menu {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .foto {
        max-width: 80px; /* Reduz o tamanho da imagem */
        height: auto; /* Mantém a proporção */
    }
}

/* Customizando o botão e dropdown */
#servicesButton {
    background: #ffffff !important;
    color: black;
    /* Texto preto */
    border: none;
    /* Remover borda */
    padding: 10px 20px;
    /* Padding para o botão */
    cursor: pointer;
    /* Apontador de cursor como botão */
    width: 15%;
    /* Largura padrão em telas grandes */
    text-align: center;
    /* Centralizar o texto */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}

#servicesButtonlp {
    background: #ffffff !important;
    color: black;
    /* Texto preto */
    border: none;
    /* Remover borda */
    padding: 10px 20px;
    /* Padding para o botão */
    cursor: pointer;
    /* Apontador de cursor como botão */
    width: 30%;
    /* Largura padrão em telas grandes */
    text-align: center;
    /* Centralizar o texto */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}

/* Para telas pequenas */
@media (max-width: 767px) {
    #servicesButton {
        width: 65%;
        /* Largura de 50% em telas pequenas */
    }
}

#servicesButton:hover {
    background-color: #afafaf;
    /* Cor ao passar o mouse */
}

/* Estilo do menu suspenso (dropdown) */
.dropdown-menu {
    background-color: black;
    /* Fundo preto */
    color: white;
    /* Texto branco */
    border: 1px solid white;
    /* Borda branca */
}

/* Estilos específicos para o dropdown no MODO CLARO */
[data-theme="light"] .dropdown-menu .dropdown-item,
[data-theme="light"] .dropdown-menu .dropdown-item i {
    color: white !important; /* Força o texto E o ícone a serem brancos */
}

/* Efeito de hover para o MODO CLARO */
[data-theme="light"] .dropdown-menu .dropdown-item:hover,
[data-theme="light"] .dropdown-menu .dropdown-item:hover i {
    color: black !important; /* Força o texto E o ícone a serem pretos no hover */
    background-color: white !important;
}

.foto {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .custom-header .row {
        flex-direction: column;
        text-align: center;
    }
    .foto {
        margin-bottom: 15px;
    }
}

.form-select {
    width: 150px;
}

.text-justify {
    text-align: justify;
}

.skills-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    /* Pequeno espaço entre as colunas */
}

.skill-item {
    background: linear-gradient(to right, #000000, #303b42) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
    border-radius: 8px;
    padding: 2rem;
    flex: 1;
    margin: 0 15px; /* Margem padrão */
    transition: all 0.3s ease;
    animation: slideInFromBottom 0.8s ease-out;
}

/* Container do meio com margem menor */
.skill-item:nth-child(2) {
    margin: 0 10px; /* Margem intermediária para o container do meio */
}

.progress-container {
    flex: 1;
    position: relative;
    margin-bottom: 1.5rem;
    padding: 0; /* Removido o padding lateral */
}

.progress {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    height: 8px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0; /* Removido o margin lateral */
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-text {
    position: absolute;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 600;
    top: -20px;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

/* Dark mode para barras de progresso */
[data-theme="dark"] .progress {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .progress-bar {
    background: linear-gradient(90deg, #00ff88, #00d4ff);
}

[data-theme="dark"] .progress-text {
    color: white;
    background: rgba(0, 0, 0, 0.5);
}

/* Responsividade */
@media (max-width: 767px) {
    .skills-container {
        flex-direction: column;
        /* Coloca as colunas em uma única coluna em telas pequenas */
        gap: 15px;
        /* Menor espaço entre as colunas nas telas pequenas */
    }

    .skill-item {
        margin-bottom: 10px;
        /* Reduz o espaçamento entre os itens */
    }
}

ul li {
    list-style: none;
    /* Remove os marcadores da lista */
    display: flex;
    align-items: center;
    /* Alinha ícones e texto na vertical */
    gap: 8px;
    /* Espaço entre o ícone e o texto */
}

ul li i {
    color: black;
    /* Cor azul para os ícones */
    font-size: 20px;
    /* Tamanho dos ícones */
}

/* Estilo para o carrossel dentro do quadrado preto */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.carousel-container img {
    border-radius: 8px;
}

.btpdf {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Sombra suave */
    background: linear-gradient(to right, #000000, #303b42) !important;
    border-radius: 5px;
    border: 0px;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #000000, #303b42) !important;
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
    transition: background 0.3s ease;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4) !important;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.whatsapp-text {
    font-weight: bold;
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-text {
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 576px) {
    .redes-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .redes-icones {
        margin-top: -10px; /* Menos espaçamento entre o botão e os ícones */
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .redes-icones a {
        margin-right: 2px; /* Ajuste fino no espaçamento entre os ícones */
    }
}

.tooltip-float {
    position: absolute;
    background-color: #000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 9999;
    max-width: 250px;
    white-space: normal;
  }
  
  @media (max-width: 576px) {
    .tooltip-float {
      font-size: 0.7rem;
      padding: 4px 8px;
      max-width: 90vw;
      word-break: break-word;
    }
  }

  .copyright-section {
    background-color: #333; /* Cor de fundo escura */
    color: white; /* Cor do texto branca */
    border-radius: 10px; /* Bordas arredondadas */
    padding: 10px; /* Padding para dar um espaço interno */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Sombrinha suave */
}

.copyright-section p {
    margin: 0;
    font-size: 14px;
}

.dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
}

#countdownTimer {
    font-size: 1.5rem; /* Aumenta o tamanho do texto */
    font-weight: bold;
    color: #f39c12; /* Altere a cor se necessário */
}



.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 1rem 0;
  }
  .process-steps::-webkit-scrollbar {
    height: 6px;
  }
  .process-steps::-webkit-scrollbar-thumb {
    background-color: #303b42;
    border-radius: 3px;
  }
  .step {
    flex: 0 0 18%; /* ocupa 18% da largura para caber 5 passos com espaçamento */
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 150px;
  }
  .step i {
    color: #303b42;
  }
  .step h4 {
    font-size: 1rem;
    margin: 0;
    font-weight: 700;
  }
  .step p {
    font-size: 0.85rem;
    margin: 0;
    color: #555;
    line-height: 1.2;
  }

  a.step {
  text-decoration: none !important;
  color: #000 !important;
  display: block; /* mantém o layout vertical */
  cursor: pointer; /* desativa cursor pointer para parecer texto */
}

a.step:hover {
  color: #000 !important; /* remove efeito hover color */
  text-decoration: none !important; /* remove sublinhado no hover */
}

.animate-checklist i {
    animation: zoomInOut 2s ease-in-out infinite;
}

/* Delays para animação em sequência */
.animate-checklist li:nth-child(1) i {
    animation-delay: 0s;
}
.animate-checklist li:nth-child(2) i {
    animation-delay: 0.2s;
}
.animate-checklist li:nth-child(3) i {
    animation-delay: 0.4s;
}
.animate-checklist li:nth-child(4) i {
    animation-delay: 0.6s;
}
 
.botao-personalizado {
        display: inline-block;
        text-align: center;
        padding: 16px 32px;
        font-size: 1.25rem;
        font-weight: bold;
        text-transform: uppercase;
        color: #fff;
        background: linear-gradient(to right, #000000, #303b42) !important;
        border: none;
        border-radius: 8px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
        transition: transform 0.2s ease-in-out;
        text-decoration: none;
        margin: 30px auto;
    }
    
.botao-personalizado:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    }

    #contadorForm {
        margin-top: -25px; /* Ajuste a margem para ficar bem perto do botão */
        font-size: 1.2em; /* Ajuste o tamanho da fonte conforme preferir */
    }

    .feature-card {
        background-color: #fff;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: 0.3s ease;
        text-align: center;
        height: 100%;
    }
    
    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    }
    
    .icon-wrapper {
        font-size: 36px;
        color: #007bff;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 50px;
    }
    
    .card-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 0.95rem;
        color: #555;
        margin: 0;
    }

     #btnComprarAgora {
    display: inline-block;
    padding: 1rem 3rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    background-color: #007bff;
    border-radius: 0.375rem;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
    transition: box-shadow 0.3s ease;
  }
  #btnComprarAgora.pulsate {
    animation: pulsate 1.5s infinite;
  }
  @keyframes pulsate {
    0% {
      box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
      background-color: #007bff;
      transform: scale(1);
    }
    50% {
      box-shadow: 0 0 20px rgba(0, 123, 255, 1);
      background-color: #0056b3;
      transform: scale(1.1);
    }
    100% {
      box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
      background-color: #007bff;
      transform: scale(1);
    }
  }

  #briefingForm {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.7s ease;
  }
  #briefingForm.show {
    opacity: 1;
    max-height: 2000px; /* suficiente para o conteúdo */
    overflow: visible;
  }

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.z-index-1 {
    z-index: 2;
    position: relative;
}

/* Profile Image com Glow Effect */
.profile-container {
    position: relative;
    display: inline-block;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.8);
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
}

/* Hero Title com Typing Effect */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.typing-text {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

.typing-text::after {
    content: '|';
    position: absolute;
    right: -5px;
    animation: blink 1s infinite;
    color: white;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) rotate(45deg) translateY(0); }
    40% { transform: translateX(-50%) rotate(45deg) translateY(-10px); }
    60% { transform: translateX(-50%) rotate(45deg) translateY(-5px); }
}

/* Dark Mode Toggle */
#theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Skills Section Melhorada */
.skills-section {
    background: var(--gradient-secondary);
    padding: 4rem clamp(1rem, 5vw, 4rem);
    margin: 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@keyframes slideInFromBottom {
    from { 
        transform: translateY(50px); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

/* Portfolio Cards com Hover Effects */
.portfolio-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-card img {
    transition: all 0.3s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-info {
    background: var(--card-bg);
}

.portfolio-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.portfolio-description {
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .portfolio-card {
        margin-bottom: 2rem;
    }
    
    .portfolio-tech {
        justify-content: center;
    }
    
    .tech-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Estilos específicos para mobile */
@media (max-width: 768px) {
    /* Centralizar o nome no mobile */
    .hero-content {
        text-align: center !important;
    }
    
    .hero-title {
        text-align: center !important;
    }
    
    .hero-subtitle {
        text-align: center !important;
    }
    
    /* Organizar botões no mobile */
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
    }
    
    .hero-actions button,
    .hero-actions select {
        width: 100%;
        max-width: 200px;
        margin: 0 !important;
        margin-bottom: 10px !important;
    }
    
    /* Ajustar botão de serviços no mobile */
    #servicesButton {
        width: 100% !important;
        max-width: 200px;
        margin-bottom: 10px !important;
    }
    
    /* Corrigir barras de progresso no mobile */
    .progress-container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .progress {
        width: 100% !important;
        margin: 0 !important;
        height: 10px !important; /* Aumentar altura no mobile */
    }
    
    .progress-bar {
        min-width: 0 !important;
        height: 100% !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Garantir que as barras de progresso apareçam no mobile */
    .progress-bar[style*="width"] {
        width: var(--progress-width, 0%) !important;
    }
    
    /* Fallback para mobile - mostrar barras mesmo sem animação */
    .progress-bar {
        background: linear-gradient(90deg, #007bff, #0056b3) !important;
        border-radius: 10px !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* Dark mode para mobile */
    [data-theme="dark"] .progress-bar {
        background: linear-gradient(90deg, #00ff88, #00d4ff) !important;
    }
    
    /* Alto contraste para mobile */
    [data-contrast="high"] .progress-bar {
        background: #ffff00 !important;
    }
    
    /* Ajustar tech items no mobile */
    .tech-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 0;
    }
    
    .tech-name {
        min-width: auto;
        width: 100%;
        text-align: left;
    }
    
    /* Ajustar skills container no mobile */
    .skills-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .skill-item {
        margin: 0 !important;
        width: 100%;
    }
    
    /* Ajustar dropdown no mobile */
    .dropdown-menu {
        width: 100%;
        max-width: 200px;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* Tech Grid e Skill Categories */
.tech-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 15px; /* Adicionar padding lateral */
}

.tech-name {
    color: white;
    font-weight: 500;
    min-width: 120px;
    font-size: 0.9rem;
}

.skill-category h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 15px; /* Adicionar padding lateral */
}

/* Terminal Section */
.terminal-section {
    max-width: 800px;
    margin: 0 auto;
}

.terminal {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: 'Courier New', monospace;
}

.terminal-header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #404040;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.terminal-btn.close {
    background: #ff5f56;
}

.terminal-btn.minimize {
    background: #ffbd2e;
}

.terminal-btn.maximize {
    background: #27ca3f;
}

.terminal-title {
    color: #b4b4b4;
    font-size: 0.9rem;
    font-weight: 500;
}

.terminal-body {
    padding: 20px;
    min-height: 150px;
}

#terminal-code {
    color: #00ff00;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    white-space: pre-wrap;
}

/* Cursor piscante para o terminal */
#terminal-code::after {
    content: '|';
    animation: blink 1s infinite;
    color: #00ff00;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Responsividade para skills */
@media (max-width: 768px) {
    .tech-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .tech-name {
        min-width: auto;
    }
    
    .terminal {
        margin: 0 10px;
    }
    
    .terminal-body {
        padding: 15px;
    }
    
    #terminal-code {
        font-size: 0.8rem;
    }
}

/* Dark mode para elementos específicos */
[data-theme="dark"] h1, 
[data-theme="dark"] h2, 
[data-theme="dark"] h3, 
[data-theme="dark"] h4, 
[data-theme="dark"] h5, 
[data-theme="dark"] h6 {
    color: var(--text-color);
}

[data-theme="dark"] p {
    color: var(--text-color);
}

[data-theme="dark"] ul li {
    color: var(--text-color);
}

[data-theme="dark"] .container {
    background-color: var(--bg-color);
}

[data-theme="dark"] .row {
    background-color: var(--bg-color);
}

[data-theme="dark"] .col-md-4,
[data-theme="dark"] .col-md-6,
[data-theme="dark"] .col-12 {
    background-color: var(--bg-color);
}

/* Dark mode para o copyright */
[data-theme="dark"] .copyright-section {
    background-color: #000000 !important;
    color: var(--text-color);
}

[data-theme="dark"] .copyright-section p {
    color: var(--text-color);
}

/* Dark mode para botão do currículo */
[data-theme="dark"] .btpdf {
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .btpdf:hover {
    background: var(--gradient-secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4) !important;
}

/* Dark mode para ícones */
[data-theme="dark"] .redes-icones a i {
    color: white !important;
    transition: all 0.3s ease;
}

[data-theme="dark"] .redes-icones a:hover i {
    color: var(--primary-color) !important;
    transform: scale(1.2);
}

/* Dark mode para seções */
[data-theme="dark"] .hero-section {
    background: var(--gradient-primary);
}

[data-theme="dark"] .skills-section {
    background: transparent !important; /* Fundo transparente */
}

[data-theme="dark"] .skill-item {
    background: linear-gradient(to right, #000000, #303b42) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .portfolio-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .portfolio-info {
    background: #fff !important;
    color: #212529 !important;
    border-color: #dee2e6 !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Força textos principais dentro do .portfolio-info a ficarem escuros */
[data-theme="dark"] .portfolio-info .portfolio-title,
[data-theme="dark"] .portfolio-info .portfolio-description,
[data-theme="dark"] .portfolio-info .portfolio-tech,
[data-theme="dark"] .portfolio-info .tech-badge,
[data-theme="dark"] .portfolio-info span,
[data-theme="dark"] .portfolio-info p,
[data-theme="dark"] .portfolio-info h4 {
  color: #212529 !important;
  background: none !important;
  background-color: transparent !important;
  opacity: 1 !important;
  filter: none !important;
  visibility: visible !important;
}

/* Badges continuam coloridas */
[data-theme="dark"] .portfolio-info .tech-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
}

/* Acessibilidade - Alto Contraste */
[data-contrast="high"] {
    --bg-color: #000000 !important;
    --text-color: #ffff00 !important;
    --primary-color: #ffff00 !important;
    --secondary-color: #ffff00 !important;
    --card-bg: #000000 !important;
    --border-color: #ffff00 !important;
}

[data-contrast="high"] * {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
}

[data-contrast="high"] .hero-section {
    background: #000000 !important;
}

[data-contrast="high"] .skills-section {
    background: #000000 !important;
}

[data-contrast="high"] .skill-item {
    background: #000000 !important;
    border: 2px solid #ffff00 !important;
}

[data-contrast="high"] .progress-bar {
    background: #ffff00 !important;
}

[data-contrast="high"] .progress {
    background: #000000 !important;
    border: 1px solid #ffff00 !important;
}

/* Acessibilidade - Tamanho de Fonte */
[data-font-size="large"] {
    font-size: 1.2em !important;
}

[data-font-size="xlarge"] {
    font-size: 1.4em !important;
}

[data-font-size="xxlarge"] {
    font-size: 1.6em !important;
}

/* Botões de Acessibilidade */
#contrast-toggle,
#font-size-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#contrast-toggle:hover,
#font-size-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Dark mode para botões de acessibilidade */
[data-theme="dark"] #contrast-toggle,
[data-theme="dark"] #font-size-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

[data-theme="dark"] #contrast-toggle:hover,
[data-theme="dark"] #font-size-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Focus visible para acessibilidade */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #007bff !important;
    outline-offset: 2px !important;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #007bff;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Seletor de Idioma */
#language-selector {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

#language-selector:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

#language-selector:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

#language-selector option {
    background: #2c3e50;
    color: white;
    padding: 8px;
}

/* Dark Mode para o seletor */
[data-theme="dark"] #language-selector {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

[data-theme="dark"] #language-selector:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] #language-selector option {
    background: #1a1a1a;
    color: white;
}

/* Alto Contraste para o seletor */
[data-contrast="high"] #language-selector {
    background: #000;
    border: 2px solid #fff;
    color: #fff;
}

[data-contrast="high"] #language-selector:hover {
    background: #fff;
    color: #000;
}

[data-contrast="high"] #language-selector option {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
}

/* Estilos específicos para o botão de serviços no dark mode */
[data-theme="dark"] #servicesButton {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
}

[data-theme="dark"] #servicesButton:hover {
    background: #f0f0f0 !important;
    color: #000000 !important;
}

[data-theme="dark"] #servicesButton i {
    background: transparent !important;
    color: #000000 !important;
}

/* Estilos específicos para o botão de serviços no alto contraste */
[data-contrast="high"] #servicesButton {
    background: #000000 !important;
    color: #ffff00 !important;
    border: 3px solid #ffff00 !important;
}

[data-contrast="high"] #servicesButton:hover {
    background: #ffff00 !important;
    color: #000000 !important;
}

[data-contrast="high"] #servicesButton i {
    background: transparent !important;
    color: inherit !important;
}

/* Estilos para o dropdown no dark mode e alto contraste */
[data-theme="dark"] .dropdown-menu {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
}

[data-theme="dark"] .dropdown-item {
    color: #ffffff !important;
    background: transparent !important;
}

[data-theme="dark"] .dropdown-item:hover {
    background: #ffffff !important;
    color: #000000 !important;
}

[data-contrast="high"] .dropdown-menu {
    background: #000000 !important;
    border: 3px solid #ffff00 !important;
}

[data-contrast="high"] .dropdown-item {
    color: #ffff00 !important;
    background: transparent !important;
}

[data-contrast="high"] .dropdown-item:hover {
    background: #ffff00 !important;
    color: #000000 !important;
}

/* Estilos específicos para o botão do WhatsApp no dark mode */
[data-theme="dark"] .whatsapp-float {
    background: linear-gradient(to right, #ffffff, #e0e0e0) !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
}

[data-theme="dark"] .whatsapp-float:hover {
    background: #1ebe5d !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.3) !important;
}

[data-theme="dark"] .whatsapp-text {
    color: #000000 !important;
    background: transparent !important;
}

[data-theme="dark"] .whatsapp-float:hover .whatsapp-text {
    color: #ffffff !important;
    background: transparent !important;
}

[data-theme="dark"] .whatsapp-icon {
    background: transparent !important;
    color: #000000 !important;
}

[data-theme="dark"] .whatsapp-float:hover .whatsapp-icon {
    background: transparent !important;
    color: #ffffff !important;
}

/* Estilos para o selo de garantia animado */
.guarantee-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    z-index: 1000;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
}

.guarantee-badge i {
    font-size: 18px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }
}

/* Responsividade para o selo */
@media (max-width: 768px) {
    .guarantee-badge {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .guarantee-badge i {
        font-size: 14px;
    }
}

/* Estilos para checkboxes do formulário */
.form-check {
    margin-bottom: 10px;
}

.form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.form-check-label {
    font-weight: 500;
    color: #495057;
}

/* Estilos para a tabela comparativa */
.table-dark {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    overflow: hidden;
}

.table-dark th {
    background-color: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid #28a745;
    font-weight: bold;
}

.table-dark td {
    vertical-align: middle;
    border-color: rgba(255, 255, 255, 0.1);
}

.table-dark tbody tr:hover {
    background-color: rgba(40, 167, 69, 0.1);
}

/* Estilos para o case de sucesso */
.card.shadow-lg {
    transition: transform 0.3s ease;
}

.card.shadow-lg:hover {
    transform: translateY(-5px);
}

.bg-success {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
}

/* Melhorias no FAQ */
.accordion-button:not(.collapsed) {
    background-color: #e7f3ff;
    color: #0d6efd;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

/* Melhorias no formulário */
.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

.btn-success {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(45deg, #218838, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Estilos para elementos de conversão e urgência */
.conversion-chart {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.chart-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chart-label {
    min-width: 150px;
    font-weight: bold;
    color: white;
}

.bar-fill {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    transition: width 2s ease-in-out;
}

.chart-bar.before .bar-fill {
    background: linear-gradient(45deg, #dc3545, #fd7e14);
}

.authority-badge {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.urgency-container {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 15px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.scarcity-badge {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.urgency-triggers .alert {
    border: none;
    border-radius: 10px;
    margin-bottom: 10px;
}

.urgency-triggers .alert-warning {
    background: linear-gradient(45deg, #fff3cd, #ffeaa7);
    color: #856404;
}

.urgency-triggers .alert-success {
    background: linear-gradient(45deg, #d4edda, #c3e6cb);
    color: #155724;
}

/* Melhorias no botão principal */
.btn-success {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-success:hover {
    background: linear-gradient(45deg, #218838, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-success:hover::before {
    left: 100%;
}

/* Responsividade */
@media (max-width: 768px) {
    .chart-label {
        min-width: 120px;
        font-size: 14px;
    }
    
    .authority-badge, .scarcity-badge {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .metric-card {
        padding: 15px;
    }
}

/* Melhorias nos espaçamentos e alinhamentos */
/* .skills-section {
    margin: 0;
    padding: 4rem 0;
} */

.experience-section {
    margin: 0;
    padding: 4rem 0;
}

/* Melhorias nos containers */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Melhorias nos cards */
.card {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Melhorias na tabela comparativa */
.table-dark {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.table-dark th {
    padding: 1rem;
    font-size: 1.1rem;
}

.table-dark td {
    padding: 1rem;
    vertical-align: middle;
}

/* Melhorias nos botões */
.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
}

/* Melhorias nos formulários */
.form-control-lg {
    padding: 15px 20px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control-lg:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

/* Melhorias nos alertas */
.alert {
    border-radius: 8px;
    border: none;
    padding: 15px 20px;
}

/* Melhorias no FAQ */
.accordion-item {
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    padding: 20px;
    font-weight: 600;
}

.accordion-body {
    padding: 20px;
}

/* Melhorias nas métricas */
.metric-card {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Melhorias no portfólio */
.portfolio-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Melhorias nos badges */
.tech-badge {
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Melhorias na responsividade */
@media (max-width: 768px) {
    .skills-section,
    .experience-section {
        padding: 2rem 1rem;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .card {
        margin-bottom: 20px;
    }
    
    .table-responsive {
        border-radius: 8px;
        overflow: hidden;
    }
}

/* Melhorias nos espaçamentos internos */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

/* Melhorias na hierarquia visual */
h2 {
    margin-bottom: 2rem;
}

h3 {
    margin-bottom: 1.5rem;
}

h4 {
    margin-bottom: 1rem;
}

/* Melhorias nos ícones */
.display-4 {
    margin-bottom: 1rem;
}

.bi {
    margin-right: 0.5rem;
}

/* Espaçamento lateral maior nos blocos ANTES/DEPOIS do case de sucesso */
.card-body .col-md-6 {
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Garantir ANTES/DEPOIS lado a lado no desktop e empilhados no mobile */
.row.espaco-case {
  display: flex;
  flex-wrap: wrap;
}
.row.espaco-case > .col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
}
@media (max-width: 767.98px) {
  .row.espaco-case {
    flex-direction: column;
  }
  .row.espaco-case > .col-md-6 {
    max-width: 100%;
    flex: 0 0 100%;
  }
}

/* Roxo da identidade visual */
.text-brand-purple { color: #9d4edd !important; }
.bg-brand-purple { background: #9d4edd !important; }

/* Botão roxo gradiente de destaque */
.btn-brand-purple {
  background: linear-gradient(135deg, #9d4edd 0%, #6e48aa 100%) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(157, 78, 221, 0.25);
  border: none;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}
.btn-brand-purple:hover, .btn-brand-purple:focus {
  background: linear-gradient(135deg, #a96dff 0%, #9d4edd 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 32px rgba(157, 78, 221, 0.35);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

/* GARANTIA: Imagens do portfólio SEMPRE visíveis e normais no dark mode */
[data-theme="dark"] .portfolio-card img {
  display: block !important;
  opacity: 1 !important;
  filter: none !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  visibility: visible !important;
  z-index: 10 !important;
  mix-blend-mode: normal !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
}

/* GARANTIA: .portfolio-info SEMPRE visível no dark mode */
[data-theme="dark"] .portfolio-info,
[data-theme="dark"] .portfolio-info * {
  background: #000 !important;
  background-color: #000 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
}

/* Força textos principais dentro do .portfolio-info a ficarem escuros */
[data-theme="dark"] .portfolio-info .portfolio-title,
[data-theme="dark"] .portfolio-info .portfolio-description,
[data-theme="dark"] .portfolio-info .portfolio-tech,
[data-theme="dark"] .portfolio-info .tech-badge,
[data-theme="dark"] .portfolio-info span,
[data-theme="dark"] .portfolio-info p,
[data-theme="dark"] .portfolio-info h4 {
  color: #212529 !important;
  background: none !important;
  background-color: transparent !important;
  opacity: 1 !important;
  filter: none !important;
  visibility: visible !important;
}

/* Badges continuam coloridas */
[data-theme="dark"] .portfolio-info .tech-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
}

/* FORÇA: .portfolio-description no dark mode com fundo preto e letras brancas */
[data-theme="dark"] .portfolio-info .portfolio-description,
[data-theme="dark"] .portfolio-description {
  background: #000 !important;
  background-color: #000 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
}

/* Garante fundo escuro no site inteiro no dark mode */
[data-theme="dark"] body,
[data-theme="dark"] main,
[data-theme="dark"] .container,
[data-theme="dark"] section {
  background: #0a0a0a !important;
  background-color: #0a0a0a !important;
}