/* ===== HERO MODERNO PARA PÁGINAS INTERNAS ===== */

/* Container principal do hero interno */
.page-hero-thin {
    background: url("../img/grafico2.png") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    min-height: 40vh;
    display: flex;
    align-items: center;
    padding: 100px 0 0px 0;
}


/* Efeito de partículas de fundo para páginas internas */
.hero-particles-internal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle-internal {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: floatParticleInternal 20s infinite linear;
}

@keyframes floatParticleInternal {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Badge moderno para indicador da página */
.hero-badge-internal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulseGlowInternal 4s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@keyframes pulseGlowInternal {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 15px rgba(94, 234, 212, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 25px rgba(94, 234, 212, 0.6);
    }
}

.hero-badge-internal i {
    color: var(--accent-light);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Título principal com efeito de revelação */
.hero-title-internal {
    font-size: clamp(2.5rem, 5vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    position: relative;
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-gradient-indicadores-hero {
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

/* Subtítulo com efeito de fade-in */
.hero-subtitle-internal {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
    animation: fadeInUpInternal 0.8s 0.3s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUpInternal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Breadcrumb moderno */
.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUpInternal 0.8s 0.1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item:hover {
    color: var(--white);
    transform: translateX(2px);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.breadcrumb-current {
    color: var(--accent-light);
    font-weight: 600;
}

/* Estatísticas rápidas do indicador */
.hero-stats-internal {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUpInternal 0.8s 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.stat-item-internal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    min-width: 120px;
    transition: all var(--transition-normal);
}

.stat-item-internal:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-value-internal {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label-internal {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Elementos decorativos flutuantes para páginas internas */
.floating-elements-internal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element-internal {
    position: absolute;
    opacity: 0.08;
    animation: floatElementInternal 25s infinite linear;
}

.floating-element-internal.shape-1 {
    top: 30%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: var(--accent-light);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    animation-delay: 0s;
}

.floating-element-internal.shape-2 {
    top: 60%;
    left: 15%;
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    animation-delay: 8s;
}

.floating-element-internal.shape-3 {
    bottom: 20%;
    right: 20%;
    width: 40px;
    height: 40px;
    background: var(--accent-teal);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 16s;
}

@keyframes floatElementInternal {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateY(0) rotate(180deg) scale(1);
    }
    75% {
        transform: translateY(15px) rotate(270deg) scale(0.9);
    }
    100% {
        transform: translateY(0) rotate(360deg) scale(1);
    }
}

/* Linha decorativa sob o título */
.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-light));
    border-radius: 2px;
    margin: 1rem 0;
    animation: expandWidth 0.8s 0.4s ease-out forwards;
    transform-origin: left;
    transform: scaleX(0);
}

@keyframes expandWidth {
    to {
        transform: scaleX(1);
    }
}

/* Botão de ação no hero */
.hero-action-button {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-light));
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
    border: none;
    box-shadow: var(--shadow-md);
    animation: fadeInUpInternal 0.8s 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-action-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

/* Ícone flutuante no hero */
.hero-icon {
    position: absolute;
    right: 10%;
    bottom: 20%;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
    animation: floatIcon 6s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Efeito de gradiente animado no fundo */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 97, 166, 0.8) 0%, 
        rgba(0, 74, 128, 0.6) 50%, 
        rgba(20, 77, 184, 0.4) 100%);
    animation: gradientShift 10s ease-in-out infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Responsividade para hero interno */
@media (max-width: 991px) {
    .page-hero-thin {
        text-align: center;
        padding: 100px 0 40px;
        min-height: 35vh;
    }
    
    .hero-stats-internal {
        justify-content: center;
    }
    
    .hero-icon {
        display: none;
    }
    
    .floating-element-internal {
        display: none;
    }
}

@media (max-width: 767px) {
    .page-hero-thin {
        min-height: 30vh;
        padding: 90px 0 30px;
    }
    
    .hero-stats-internal {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stat-item-internal {
        align-items: center;
        min-width: 100%;
    }
    
    .hero-subtitle-internal {
        font-size: 1.1rem;
    }
    
    .hero-breadcrumb {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .page-hero-thin {
        min-height: 25vh;
        padding: 80px 0 20px;
    }
    
    .hero-title-internal {
        font-size: 2rem;
    }
    
    .hero-subtitle-internal {
        font-size: 1rem;
    }
    
    .hero-badge-internal {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .stat-value-internal {
        font-size: 1.5rem;
    }
}

/* Acessibilidade - reduzir movimento se preferido */
@media (prefers-reduced-motion: reduce) {
    .particle-internal,
    .floating-element-internal,
    .hero-icon,
    .hero-badge-internal i {
        animation: none;
    }
    
    .hero-title-internal,
    .hero-subtitle-internal,
    .hero-breadcrumb,
    .hero-stats-internal,
    .hero-action-button,
    .title-underline {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ===== Accordion dentro do modal Mais Informações (ajuste para fundo branco) ===== */
.acordeon-mais-info {
  --acc-radius: 12px;
  --acc-border: 1px solid rgba(0,0,0,.1);
  --acc-bg: #ffffff; 
  --acc-bg-hover: #f8f9fa;
  --acc-text: #212529;   /* texto principal escuro */
  --acc-muted: #495057;  /* texto secundário */
}

/* Container do item */
.acordeon-mais-info .accordion-item {
  background: var(--acc-bg);
  border: var(--acc-border);
  border-radius: var(--acc-radius);
  margin-bottom: 12px;
}

/* Cabeçalho/botão */
.acordeon-mais-info .accordion-button {
  background: transparent;
  color: var(--acc-text);
  font-weight: 600;
  padding: 0.9rem 1.1rem;
  box-shadow: none;
}

/* Ícone seta */
.acordeon-mais-info .accordion-button::after {
  filter: none;
}

/* Hover/foco */
.acordeon-mais-info .accordion-button:not(.collapsed) {
  background: var(--acc-bg-hover);
  color: var(--acc-text);
}


/* Corpo */
.acordeon-mais-info .accordion-body {
  color: var(--acc-muted);
  padding: 1rem 1.1rem 1.1rem;
  line-height: 1.6;
}
