/* ========================================
   MAPA DO SITE - CSS
   Prefixo: sitemap- para evitar conflitos
   Best Digital - Identidade Visual
   ======================================== */

/* Container Principal */
.sitemap-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #121212 50%, #0a0a0a 100%);
    padding: 130px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Background animado com partículas */
.sitemap-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.sitemap-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 64, 0, 0.3);
    border-radius: 50%;
    animation: sitemap-float 15s infinite ease-in-out;
}

.sitemap-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.sitemap-particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.sitemap-particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.sitemap-particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.sitemap-particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.sitemap-particle:nth-child(6) { left: 60%; animation-delay: 1s; }
.sitemap-particle:nth-child(7) { left: 70%; animation-delay: 3s; }
.sitemap-particle:nth-child(8) { left: 80%; animation-delay: 5s; }
.sitemap-particle:nth-child(9) { left: 90%; animation-delay: 7s; }
.sitemap-particle:nth-child(10) { left: 95%; animation-delay: 9s; }

@keyframes sitemap-float {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) scale(1);
    }
    100% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
}

/* Linhas de grade decorativas */
.sitemap-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 64, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 64, 0, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

/* Container interno */
.sitemap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Cabeçalho da seção */
.sitemap-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.sitemap-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 64, 0, 0.1);
    border: 1px solid rgba(255, 64, 0, 0.3);
    border-radius: 50px;
    padding: 10px 25px;
    margin-bottom: 25px;
    animation: sitemap-pulse 3s ease-in-out infinite;
}

.sitemap-badge i {
    color: #FF6D00;
    font-size: 16px;
}

.sitemap-badge span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: "DM Sans", sans-serif;
}

@keyframes sitemap-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 64, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 64, 0, 0.4);
    }
}

.sitemap-title {
    font-size: 3.2rem;
    font-weight: 800;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.sitemap-title span {
    background: linear-gradient(135deg, #FF4000, #FF8C00, #FFB347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sitemap-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: "DM Sans", sans-serif;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Linha decorativa animada */
.sitemap-line-decoration {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #FF4000, #FF8C00);
    margin: 30px auto 0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.sitemap-line-decoration::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: sitemap-shine 2.5s ease-in-out infinite;
}

@keyframes sitemap-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Container principal dos links */
.sitemap-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    position: relative;
}

/* Colunas */
.sitemap-column {
    position: relative;
}

.sitemap-column-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 64, 0, 0.2);
}

.sitemap-column-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 64, 0, 0.15), rgba(255, 140, 0, 0.15));
    border: 2px solid rgba(255, 64, 0, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sitemap-column-icon i {
    font-size: 22px;
    color: #FF8C00;
    transition: all 0.3s ease;
}

.sitemap-column-title h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    font-family: "Plus Jakarta Sans", sans-serif;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lista de links */
.sitemap-links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Item do link */
.sitemap-link-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sitemap-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 64, 0, 0.08), rgba(255, 140, 0, 0.05));
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sitemap-link-item:hover::before {
    opacity: 1;
}

.sitemap-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    text-decoration: none;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.sitemap-link:hover {
    border-color: rgba(255, 64, 0, 0.4);
    background: rgba(255, 64, 0, 0.08);
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(255, 64, 0, 0.2);
}

/* Indicador do link */
.sitemap-link-indicator {
    width: 38px;
    height: 38px;
    background: rgba(255, 64, 0, 0.1);
    border: 2px solid rgba(255, 64, 0, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sitemap-link-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.sitemap-link:hover .sitemap-link-indicator::before {
    left: 100%;
}

.sitemap-link:hover .sitemap-link-indicator {
    background: linear-gradient(135deg, #FF4000, #FF8C00);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 64, 0, 0.5);
}

.sitemap-link-indicator i {
    font-size: 14px;
    color: #FF8C00;
    transition: all 0.3s ease;
}

.sitemap-link:hover .sitemap-link-indicator i {
    color: #ffffff;
    transform: translateX(3px);
}

/* Conteúdo do link */
.sitemap-link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sitemap-link-title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Plus Jakarta Sans", sans-serif;
    transition: color 0.3s ease;
    margin: 0;
}

.sitemap-link:hover .sitemap-link-title {
    color: #ffffff;
}

.sitemap-link-url {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: "DM Sans", sans-serif;
    transition: color 0.3s ease;
    word-break: break-all;
}

.sitemap-link:hover .sitemap-link-url {
    color: #FF8C00;
}

/* Seta animada */
.sitemap-link-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sitemap-link-arrow i {
    font-size: 18px;
    color: #FF8C00;
}

.sitemap-link:hover .sitemap-link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Efeito de luz passando no container */
.sitemap-light-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 64, 0, 0.03), 
        rgba(255, 140, 0, 0.05), 
        rgba(255, 64, 0, 0.03), 
        transparent);
    animation: sitemap-light-sweep 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes sitemap-light-sweep {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Rodapé da seção */
.sitemap-footer {
    margin-top: 70px;
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 64, 0, 0.15);
    position: relative;
}

.sitemap-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #FF4000, #FF8C00);
    border-radius: 2px;
}

.sitemap-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.sitemap-stat {
    text-align: center;
}

.sitemap-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: "Plus Jakarta Sans", sans-serif;
    background: linear-gradient(135deg, #FF4000, #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.sitemap-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: "DM Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animação de entrada dos itens */
.sitemap-link-item {
    opacity: 0;
    transform: translateY(20px);
}

.sitemap-link-item.sitemap-visible {
    animation: sitemap-fade-in 0.5s ease forwards;
}

@keyframes sitemap-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay para cada item */
.sitemap-link-item:nth-child(1) { animation-delay: 0.1s; }
.sitemap-link-item:nth-child(2) { animation-delay: 0.15s; }
.sitemap-link-item:nth-child(3) { animation-delay: 0.2s; }
.sitemap-link-item:nth-child(4) { animation-delay: 0.25s; }
.sitemap-link-item:nth-child(5) { animation-delay: 0.3s; }
.sitemap-link-item:nth-child(6) { animation-delay: 0.35s; }
.sitemap-link-item:nth-child(7) { animation-delay: 0.4s; }
.sitemap-link-item:nth-child(8) { animation-delay: 0.45s; }

/* ========================================
   RESPONSIVO
   ======================================== */

@media (max-width: 992px) {
    .sitemap-section {
        padding: 80px 0 100px;
    }
    
    .sitemap-title {
        font-size: 2.5rem;
    }
    
    .sitemap-content {
        gap: 40px;
    }
    
    .sitemap-stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .sitemap-section {
        padding: 60px 0 80px;
    }
    
    .sitemap-header {
        margin-bottom: 50px;
    }
    
    .sitemap-title {
        font-size: 2rem;
    }
    
    .sitemap-subtitle {
        font-size: 1rem;
    }
    
    .sitemap-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .sitemap-column-title h3 {
        font-size: 1.2rem;
    }
    
    .sitemap-link {
        padding: 15px 18px;
    }
    
    .sitemap-link-indicator {
        width: 34px;
        height: 34px;
    }
    
    .sitemap-link-title {
        font-size: 0.95rem;
    }
    
    .sitemap-link-url {
        font-size: 0.75rem;
    }
    
    .sitemap-footer {
        margin-top: 50px;
        padding-top: 40px;
    }
    
    .sitemap-stats {
        gap: 30px;
    }
    
    .sitemap-stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .sitemap-section {
        padding: 30px 0 60px;
    }
    
    .sitemap-container {
        padding: 0 15px;
    }
    
    .sitemap-badge {
        padding: 8px 18px;
    }
    
    .sitemap-badge span {
        font-size: 11px;
    }
    
    .sitemap-title {
        font-size: 1.7rem;
    }
    
    .sitemap-line-decoration {
        width: 80px;
    }
    
    .sitemap-column-icon {
        width: 42px;
        height: 42px;
    }
    
    .sitemap-column-icon i {
        font-size: 18px;
    }
    
    .sitemap-column-title h3 {
        font-size: 1.1rem;
    }
    
    .sitemap-link {
        padding: 14px 15px;
        gap: 12px;
    }
    
    .sitemap-link-indicator {
        width: 32px;
        height: 32px;
    }
    
    .sitemap-link-indicator i {
        font-size: 12px;
    }
    
    .sitemap-link-title {
        font-size: 0.9rem;
    }
    
    .sitemap-link-url {
        font-size: 0.7rem;
    }
    
    .sitemap-link-arrow {
        display: none;
    }
    
    .sitemap-stat-number {
        font-size: 1.8rem;
    }
    
    .sitemap-stat-label {
        font-size: 0.8rem;
    }
}