/* Importa a fonte Roboto do Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

/* Reset e estilos gerais apenas dentro do #spectrum-diagram */
#spectrum-diagram {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #0d0d0d;
    color: #f0f0f0;
    line-height: 1.6;
}

#spectrum-diagram header {
    background-color: #000;
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid #00D253;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
}

#spectrum-diagram header h1 {
    color: #00D253;
    margin: 0;
    font-size: 2.8em;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.7);
}

#spectrum-diagram header p {
    font-size: 1.2em;
    color: #90EE90;
    margin-top: 10px;
}

#spectrum-diagram main {
    flex-grow: 1;
    padding: 20px;
    max-width: 1400px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#spectrum-diagram section {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

#spectrum-diagram section h2 {
    color: #00D253;
    text-align: center;
    margin-bottom: 25px;
    font-size: 2em;
}

#spectrum-diagram .intro-section p {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

#spectrum-diagram .info-boxes-top,
#spectrum-diagram .info-boxes-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#spectrum-diagram .info-box {
    background-color: #222;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 20px;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

#spectrum-diagram .info-box .info-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

#spectrum-diagram .info-box .info-header .icon {
    font-size: 2.2em;
    margin-right: 15px;
    color: #00D253;
}

#spectrum-diagram .info-box h3 {
    color: #00D253;
    margin: 0;
    font-size: 1.6em;
}

#spectrum-diagram .info-box p {
    margin-bottom: 10px;
    font-size: 0.95em;
}

#spectrum-diagram .info-box ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

#spectrum-diagram .info-box ul li {
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #bbb;
}

#spectrum-diagram .info-box small {
    display: block;
    font-size: 0.75em;
    color: #888;
    margin-top: 2px;
}

/* Contêiner do diagrama do espectro */
#spectrum-diagram .spectrum-diagram-container {
    text-align: center;
}

#spectrum-diagram .spectrum-diagram-container .diagram-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #ccc;
}

/* Controles de animação */
#spectrum-diagram .animation-controls {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

#spectrum-diagram .animation-controls button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 255, 0, 0.2);
}

/* Display do SVG */
#spectrum-diagram #spectrum-display {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 20px auto;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

#spectrum-diagram #spectrum-display svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Estilos das bandas espectrais no SVG */
#spectrum-diagram .spectrum-band { /* ... */ }
#spectrum-diagram .spectrum-band:hover,
#spectrum-diagram .spectrum-band.active { /* ... */ }



/* Estilo dos cards de benefícios dentro do #spectrum-diagram */
#spectrum-diagram .benefits-section {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}

#spectrum-diagram .benefits-section h2 {
    color: #00D253;
    text-align: center;
    margin-bottom: 35px;
    font-size: 2.4em;
    font-weight: 700;
}

#spectrum-diagram .benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    margin: 0 auto;
    max-width: 1400px;
}

#spectrum-diagram .benefit-item {
    background: #181818;
    border: 2px solid #333;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    padding: 32px 24px 24px 24px;
    min-width: 320px;
    max-width: 420px;
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    text-align: center;
}

#spectrum-diagram .benefit-item:hover {
    box-shadow: 0 8px 32px rgba(0,255,100,0.15);
    border-color: #00D253;
    transform: translateY(-4px) scale(1.03);
}

#spectrum-diagram .benefit-item h4 {
    color: #00D253;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 18px;
    margin-top: 0;
    text-align: center;
}

#spectrum-diagram .benefit-item p {
    color: #f0f0f0;
    font-size: 1.08em;
    margin: 0;
    text-align: center;
}
/* Continue prefixando todos os seletores do CSS original com #spectrum-diagram */
/* Remove borda superior e inferior da seção info-boxes-bottom */
#spectrum-diagram .info-boxes-bottom {
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
#spectrum-diagram .info-boxes-bottom .info-box {
    border: none !important;
    box-shadow: none !important;
}


#spectrum-diagram .spectrum-diagram-container {
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    /* background: transparent !important; */
}
#spectrum-diagram .spectrum-diagram-container {
    border: none !important;
    box-shadow: none !important;
}


/* Efeitos de hover e animação para os cards da info-boxes-bottom */
#spectrum-diagram .info-boxes-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 32px 0;
}

#spectrum-diagram .info-boxes-bottom .info-box {
    background: #181818;
    border: 2px solid #333;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    padding: 32px 24px 24px 24px;
    min-width: 320px;
    max-width: 420px;
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    text-align: center;
}

#spectrum-diagram .info-boxes-bottom .info-box:hover {
    box-shadow: 0 8px 32px rgba(0,255,100,0.15);
    border-color: #00D253;
    transform: translateY(-4px) scale(1.03);
}

#spectrum-diagram .info-boxes-bottom .info-box h3 {
    color: #00D253;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 18px;
    margin-top: 0;
    text-align: center;
}

#spectrum-diagram .info-boxes-bottom .info-box p {
    color: #f0f0f0;
    font-size: 1.08em;
    margin: 0;
    text-align: center;
}

/* Estilo corporativo para os ícones das info-boxes-top */
#spectrum-diagram .info-boxes-top .info-header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

#spectrum-diagram .info-boxes-top .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #222; /* Ou #00D253 para destaque institucional */
    color: #00D253;   /* Ou #fff se fundo for verde */
    font-size: 2.2em;
    margin-right: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border: 2px solid #00D253;
    transition: background 0.2s, color 0.2s;
}

#spectrum-diagram .info-boxes-top .info-header h3 {
    color: #00D253;
    font-size: 1.5em;
    font-weight: 700;
    margin: 0;
}

/* Efeitos corporativos e animação para os cards do espectro */
#spectrum-diagram .info-boxes-top {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 32px;
}

#spectrum-diagram .info-boxes-top .info-box {
    background: #181818;
    border: 2px solid #333;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    padding: 32px 24px 24px 24px;
    min-width: 320px;
    max-width: 420px;
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    text-align: left;
}

#spectrum-diagram .info-boxes-top .info-box:hover {
    box-shadow: 0 8px 32px rgba(0,255,100,0.15);
    border-color: #00D253;
    transform: translateY(-4px) scale(1.03);
}

#spectrum-diagram .info-boxes-top .info-header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

#spectrum-diagram .info-boxes-top .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #181818;
    color: #00D253;
    margin-right: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    border: 2px solid #00D253;
    transition: background 0.2s, color 0.2s;
}
#spectrum-diagram .info-boxes-top .icon svg {
    display: block;
}

#spectrum-diagram .info-boxes-top .info-header h3 {
    color: #00D253;
    font-size: 1.5em;
    font-weight: 700;
    margin: 0;
}

#spectrum-diagram .info-boxes-top .info-box p,
#spectrum-diagram .info-boxes-top .info-box ul,
#spectrum-diagram .info-boxes-top .info-box li {
    color: #f0f0f0;
    font-size: 1.08em;
    margin: 0 0 8px 0;
    text-align: left;
}

#spectrum-diagram .info-boxes-top .info-box ul {
    margin-top: 12px;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

#spectrum-diagram .info-boxes-top .info-box li {
    color: #bbb;
    font-size: 0.98em;
    margin-bottom: 4px;
}